gnome-settings-daemon r557 - in branches/gnome-2-24: . plugins/media-keys



Author: matthiasc
Date: Wed Oct 15 20:55:12 2008
New Revision: 557
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=557&view=rev

Log:
2008-10-15 Matthias Clasen  <mclasen redhat com>

        Bug 556307 â show the shutdown dialog when the power button is pressed

        * plugins/media-keys/gsd-media-keys-manager.c (do_exit_action):
        Show the shutdown dialog when the power button is pressed,
        not the logout dialog.



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/plugins/media-keys/gsd-media-keys-manager.c

Modified: branches/gnome-2-24/plugins/media-keys/gsd-media-keys-manager.c
==============================================================================
--- branches/gnome-2-24/plugins/media-keys/gsd-media-keys-manager.c	(original)
+++ branches/gnome-2-24/plugins/media-keys/gsd-media-keys-manager.c	Wed Oct 15 20:55:12 2008
@@ -556,7 +556,7 @@
 static void
 do_exit_action (GsdMediaKeysManager *manager)
 {
-        execute (manager, "gnome-session-save --kill", FALSE, FALSE);
+        execute (manager, "gnome-session-save --shutdown-dialog", FALSE, FALSE);
 }
 
 static void



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