userMenu: Fix 'Lock' lockdown setting
Oops, embarrassing typo ... https://bugzilla.gnome.org/show_bug.cgi?id=675802
This commit is contained in:
parent
6fa45975bf
commit
83d3225e57
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user