diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-05 18:04:47 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-05 18:04:47 +0200 |
commit | 29e62220cb68514d690d516f030da6c4f4aaec28 (patch) | |
tree | 2e473278089c36e6aecc4a22a6c904d76b395eae /redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch | |
parent | aeb0878cbf7f908978c080a9bbb2b4b1c08de18d (diff) | |
download | tde-packaging-29e62220cb68514d690d516f030da6c4f4aaec28.tar.gz tde-packaging-29e62220cb68514d690d516f030da6c4f4aaec28.zip |
RPM Packaging: cleanup tdebase
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch')
-rw-r--r-- | redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch b/redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch deleted file mode 100644 index b862f00ca..000000000 --- a/redhat/tdebase/kdebase-3.5.13.2-add_ck_shutdown.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- trinity-tdebase-3.5.13.2/kdmlib/dmctl.cpp.ORI 2013-02-15 22:22:05.217381830 +0100 -+++ trinity-tdebase-3.5.13.2/kdmlib/dmctl.cpp 2013-02-15 22:52:06.635823349 +0100 -@@ -180,7 +180,12 @@ - if (DMType == GDM) - return exec( "QUERY_LOGOUT_ACTION\n", re ) && re.find("HALT") >= 0; - -+#ifdef WITH_CONSOLE_KIT -+ // Use consolekit to check if we can shutdown the computer -+ return exec( "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.CanStop\n", re ) && re.find("boolean true") >= 0; -+#else - return exec( "caps\n", re ) && re.find( "\tshutdown" ) >= 0; -+#endif - } - - void |