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:
Giovanni Campagna 2012-08-14 17:49:46 +02:00
parent b3b847fadd
commit 1dbbb4f91c
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ const UnlockDialog = new Lang.Class({
}, },
_otherUserClicked: function(button, event) { _otherUserClicked: function(button, event) {
this._userManager.goto_login_session(); Gdm.goto_login_session_sync(null);
this._userVerifier.cancel(); this._userVerifier.cancel();
this.emit('failed'); this.emit('failed');

View File

@ -779,7 +779,7 @@ const UserMenuButton = new Lang.Class({
Main.overview.hide(); Main.overview.hide();
if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY)) if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
Main.screenShield.lock(false); Main.screenShield.lock(false);
this._userManager.goto_login_session(); Gdm.goto_login_session_sync(null);
}, },
_onQuitSessionActivate: function() { _onQuitSessionActivate: function() {