[gnome-shell] Use GDM instead of libaccountsservice for fast user switching
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Use GDM instead of libaccountsservice for fast user switching
- Date: Thu, 16 Aug 2012 18:57:56 +0000 (UTC)
commit 1dbbb4f91c0576284c340a1a0e40aa595aeaa0b8
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue Aug 14 17:49:46 2012 +0200
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
js/ui/unlockDialog.js | 2 +-
js/ui/userMenu.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index c48fbeb..fcad526 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -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');
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 07f7ee6..2f74301 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]