Revert "loginDialog: Don't arbitrarily pick a random session for the user"
This reverts commit 6d40cb98e7
.
https://bugzilla.gnome.org/show_bug.cgi?id=740142
This commit is contained in:
parent
ee360d8749
commit
e5270cb6ec
@ -354,6 +354,9 @@ const SessionMenuButton = new Lang.Class({
|
|||||||
this._menu.addMenuItem(item);
|
this._menu.addMenuItem(item);
|
||||||
this._items[id] = item;
|
this._items[id] = item;
|
||||||
|
|
||||||
|
if (!this._activeSessionId)
|
||||||
|
this.setActiveSession(id);
|
||||||
|
|
||||||
item.connect('activate', Lang.bind(this, function() {
|
item.connect('activate', Lang.bind(this, function() {
|
||||||
this.setActiveSession(id);
|
this.setActiveSession(id);
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user