[gnome-shell] SessionMode: add polkit to gdm session



commit 0725a7d836d658a54ddb53ab1d106c6422b8a280
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Sep 5 12:50:16 2012 +0200

    SessionMode: add polkit to gdm session
    
    It's needed to shutdown when other users are logged in or inhibitors are
    active.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683400

 js/ui/sessionMode.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index 3ca08db..51fb6d6 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -33,6 +33,7 @@ const _modes = {
         allowKeybindingsWhenModal: true,
         isGreeter: true,
         unlockDialog: imports.gdm.loginDialog.LoginDialog,
+        components: ['polkitAgent'],
         panel: {
             left: [],
             center: ['dateMenu'],



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