mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
2 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue