userMenu: Fix 'Lock' lockdown setting

Oops, embarrassing typo ...

https://bugzilla.gnome.org/show_bug.cgi?id=675802
This commit is contained in:
Florian Müllner 2012-05-10 13:15:03 +02:00
parent 6fa45975bf
commit 83d3225e57

View File

@ -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() {