[kupfer] plugin.common: Fix shutdown dialog



commit 435191ba6e63f313bc9afa1e3cd624c602227144
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Thu Nov 19 11:50:25 2009 +0100

    plugin.common: Fix shutdown dialog
    
    Use gnome-session-save --shutdown-dialog for shutdown dialog; this
    will work with recent gnome releases.
    
    This fixes Launchpad bug https://bugs.launchpad.net/kupfer/+bug/484664
    
    (The "common" plugin should eventually be rewritten to a "Gnome Session
    Management" plugin or similar.)

 kupfer/plugin/common.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/common.py b/kupfer/plugin/common.py
index 64c6edc..e5cd51f 100644
--- a/kupfer/plugin/common.py
+++ b/kupfer/plugin/common.py
@@ -43,7 +43,7 @@ class Shutdown (RunnableLeaf):
 		super(Shutdown, self).__init__(name=name)
 	def run(self):
 		launch_commandline_with_fallbacks(("gnome-panel-logout --shutdown",
-			"gnome-session-save --kill"))
+			"gnome-session-save --shutdown-dialog"))
 
 	def get_description(self):
 		return _("Shut down, restart or suspend computer")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]