summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch
diff options
context:
space:
mode:
authorTim Williams <[email protected]>2011-10-14 13:51:18 +0100
committerTim Williams <[email protected]>2011-10-14 13:51:18 +0100
commitec2515f058c60d2478a549f58376db628ba556b9 (patch)
treeaefbde1b807005611b397e01ebc5782c7d27ff91 /mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch
parentbba295da1161579c6fe734680c827e50a3585131 (diff)
downloadtde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.tar.gz
tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.zip
Initial commit of the Mandriva patches and spec files.
This includes the main dependencies and core packages, but very little else.
Diffstat (limited to 'mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch')
-rw-r--r--mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch b/mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch
new file mode 100644
index 000000000..bc11026f1
--- /dev/null
+++ b/mandriva/2010.2/kdebase/kdebase-3.5.3-logout-without-confirmation.patch
@@ -0,0 +1,34 @@
+--- kdebase-3.5.3/kdesktop/desktop.cc.orig 2006-06-22 21:14:19.000000000 -0300
++++ kdebase-3.5.3/kdesktop/desktop.cc 2006-07-12 15:10:12.000000000 -0300
+@@ -861,6 +861,11 @@
+ KApplication::ShutdownTypeNone );
+ }
+
++void KDesktop::logoutWithoutConfirmation()
++{
++ slotLogoutNoCnf();
++}
++
+ void KDesktop::logout( KApplication::ShutdownConfirm confirm,
+ KApplication::ShutdownType sdtype )
+ {
+--- kdebase-3.5.3/kdesktop/desktop.h.orig 2006-04-27 15:06:09.000000000 -0300
++++ kdebase-3.5.3/kdesktop/desktop.h 2006-07-12 15:11:14.000000000 -0300
+@@ -84,6 +84,7 @@
+ virtual void logout();
+ virtual void clearCommandHistory();
+ virtual void runAutoStart();
++ virtual void logoutWithoutConfirmation();
+
+ virtual void switchDesktops( int delta );
+
+--- kdebase-3.5.3/kdesktop/KDesktopIface.h.orig 2006-04-27 15:06:09.000000000 -0300
++++ kdebase-3.5.3/kdesktop/KDesktopIface.h 2006-07-12 15:10:12.000000000 -0300
+@@ -75,6 +75,7 @@
+ * Bye bye
+ */
+ virtual void logout() = 0;
++ virtual void logoutWithoutConfirmation() = 0;
+ /**
+ * Returns whether KDesktop uses a virtual root.
+ */