[gnome-settings-daemon] media-keys: handle GSD_POWER_ACTION_LOGOUT



commit 6bb589a5d87c2407c4d5a00dfc543b93906f0fa3
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Tue Apr 2 08:37:40 2013 +0200

    media-keys: handle GSD_POWER_ACTION_LOGOUT
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697083

 plugins/media-keys/gsd-media-keys-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 29416bb..6c78897 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1809,6 +1809,7 @@ do_config_power_action (GsdMediaKeysManager *manager,
                 power_action_hibernate (manager);
                 break;
         case GSD_POWER_ACTION_BLANK:
+        case GSD_POWER_ACTION_LOGOUT:
         case GSD_POWER_ACTION_NOTHING:
                 /* these actions cannot be handled by media-keys and
                  * are not used in this context */


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