diff --git a/kdesdk-4.1.1-quit.patch b/kdesdk-4.1.1-quit.patch new file mode 100644 index 0000000..7c47658 --- /dev/null +++ b/kdesdk-4.1.1-quit.patch @@ -0,0 +1,19 @@ +diff -up kdesdk-4.1.1/lokalize/src/kaider.cpp.orig kdesdk-4.1.1/lokalize/src/kaider.cpp +--- kdesdk-4.1.1/lokalize/src/kaider.cpp.orig 2008-09-24 12:23:07.000000000 +0200 ++++ kdesdk-4.1.1/lokalize/src/kaider.cpp 2008-09-24 12:18:31.000000000 +0200 +@@ -221,11 +221,11 @@ void KAider::setupActions() + connect (_catalog,SIGNAL(cleanChanged(bool)),action,SLOT(setDisabled(bool))); + connect (_catalog,SIGNAL(cleanChanged(bool)),this,SLOT(setModificationSign(bool))); + action = KStandardAction::saveAs(this, SLOT(fileSaveAs()), ac); +- //action = KStandardAction::quit(qApp, SLOT(quit()), ac); +- //action->setText(i18nc("@action:inmenu","Close all Lokalize windows")); ++ action = KStandardAction::quit(qApp, SLOT(quit()), ac); ++ action->setText(i18nc("@action:inmenu","Close all Lokalize windows")); + +- //KStandardAction::quit(kapp, SLOT(quit()), ac); +- //KStandardAction::quit(this, SLOT(deleteLater()), ac); ++ KStandardAction::quit(kapp, SLOT(quit()), ac); ++ KStandardAction::quit(this, SLOT(deleteLater()), ac); + + + //Settings diff --git a/kdesdk.spec b/kdesdk.spec index 2ecf78e..3e2bc7b 100644 --- a/kdesdk.spec +++ b/kdesdk.spec @@ -1,7 +1,7 @@ Name: kdesdk Version: 4.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The KDE Software Development Kit (SDK) Group: User Interface/Desktops @@ -9,6 +9,8 @@ Group: User Interface/Desktops License: GPLv2 URL: http://www.kde.org/ Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2 +# upstream patches +Patch100: kdesdk-4.1.1-quit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kde-filesystem >= 4 @@ -87,6 +89,8 @@ xml2pot %prep %setup -q +# upstream patches +%patch100 -p1 -b .quit %build mkdir -p %{_target_platform} @@ -216,6 +220,9 @@ rm -rf %{buildroot} %changelog +* Wed Sep 24 2008 Than Ngo 4.1.1-2 +- show quit in the menu + * Fri Aug 29 2008 Than Ngo 4.1.1-1 - 4.1.1