From 83d3225e5778b4a79ea69a928e07c563d5d4000a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 10 May 2012 13:15:03 +0200 Subject: [PATCH] userMenu: Fix 'Lock' lockdown setting Oops, embarrassing typo ... https://bugzilla.gnome.org/show_bug.cgi?id=675802 --- js/ui/userMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 01b4702a5..5ae4ae6d6 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() {