Hide the user menu in the GDM greeter lock screen

https://bugzilla.gnome.org/show_bug.cgi?id=683705
This commit is contained in:
Giovanni Campagna
2012-09-10 11:34:49 +02:00
parent 8cf9baa132
commit 785be2f327
2 changed files with 3 additions and 0 deletions

View File

@ -577,6 +577,8 @@ const UserMenuButton = new Lang.Class({
},
_sessionUpdated: function() {
this.actor.visible = !Main.sessionMode.isGreeter;
let allowSettings = Main.sessionMode.allowSettings;
this._statusChooser.setSensitive(allowSettings);
this._systemSettings.visible = allowSettings;