Hide the user menu in the GDM greeter lock screen
https://bugzilla.gnome.org/show_bug.cgi?id=683705
This commit is contained in:
parent
8cf9baa132
commit
785be2f327
@ -48,6 +48,7 @@ const _modes = {
|
||||
|
||||
'lock-screen': {
|
||||
isLocked: true,
|
||||
isGreeter: undefined,
|
||||
unlockDialog: undefined,
|
||||
components: ['networkAgent', 'polkitAgent', 'telepathyClient'],
|
||||
panel: {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user