[gnome-shell] loginDialog: Don't arbitrarily pick a random session for the user
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: Don't arbitrarily pick a random session for the user
- Date: Mon, 16 Mar 2015 21:47:42 +0000 (UTC)
commit 6d40cb98e7e7a24f66662f0a06ecf8e93ed5dea2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Mar 16 10:55:02 2015 -0700
loginDialog: Don't arbitrarily pick a random session for the user
gdm should be in charge of telling us the default session, and it
should pick one for the user if she doesn't already have one.
https://bugzilla.gnome.org/show_bug.cgi?id=740142
js/gdm/loginDialog.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index ce569bf..6b90bb0 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -354,9 +354,6 @@ const SessionMenuButton = new Lang.Class({
this._menu.addMenuItem(item);
this._items[id] = item;
- if (!this._activeSessionId)
- this.setActiveSession(id);
-
item.connect('activate', Lang.bind(this, function() {
this.setActiveSession(id);
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]