Use GDM instead of libaccountsservice for fast user switching
libaccountsservice uses gdmflexiserver internally, which has been removed from gdm. Instead, use libgdm directly. https://bugzilla.gnome.org/show_bug.cgi?id=680231
This commit is contained in:
parent
b3b847fadd
commit
1dbbb4f91c
@ -208,7 +208,7 @@ const UnlockDialog = new Lang.Class({
|
||||
},
|
||||
|
||||
_otherUserClicked: function(button, event) {
|
||||
this._userManager.goto_login_session();
|
||||
Gdm.goto_login_session_sync(null);
|
||||
|
||||
this._userVerifier.cancel();
|
||||
this.emit('failed');
|
||||
|
@ -779,7 +779,7 @@ const UserMenuButton = new Lang.Class({
|
||||
Main.overview.hide();
|
||||
if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
|
||||
Main.screenShield.lock(false);
|
||||
this._userManager.goto_login_session();
|
||||
Gdm.goto_login_session_sync(null);
|
||||
},
|
||||
|
||||
_onQuitSessionActivate: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user