[gnome-shell] userMenu: Fix 'Lock' lockdown setting



commit 83d3225e5778b4a79ea69a928e07c563d5d4000a
Author: Florian MÃllner <fmuellner gnome org>
Date:   Thu May 10 13:15:03 2012 +0200

    userMenu: Fix 'Lock' lockdown setting
    
    Oops, embarrassing typo ...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675802

 js/ui/userMenu.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 01b4702..5ae4ae6 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -559,7 +559,7 @@ const UserMenuButton = new Lang.Class({
 
     _updateLockScreen: function() {
         let allowLockScreen = !this._lockdownSettings.get_boolean(DISABLE_LOCK_SCREEN_KEY);
-        this._logoutItem.actor.visible = allowLockScreen;
+        this._lockScreenItem.actor.visible = allowLockScreen;
     },
 
     _updateHaveShutdown: function() {



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