Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
gnome-shell.22882
gnome-shell-disable-screensaver-user-switch-whe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-disable-screensaver-user-switch-when-remote.patch of Package gnome-shell.22882
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index f0b266e..f01b804 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -50,7 +50,7 @@ var UnlockDialog = GObject.registerClass({ this.allowCancel = false; let screenSaverSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.screensaver' }); - if (screenSaverSettings.get_boolean('user-switch-enabled')) { + if (screenSaverSettings.get_boolean('user-switch-enabled') && this._userManager.can_switch()) { let otherUserLabel = new St.Label({ text: _("Log in as another user"), style_class: 'login-dialog-not-listed-label' }); this._otherUserButton = new St.Button({ style_class: 'login-dialog-not-listed-button',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor