gdm: fix empty user list on user switching
There's some vestigial code for hiding the user list that runs at the same time its parent is hidden. Only the parent should be hidden, at this point, so there's situations where the user list hides and never comes back. This commit fixes that, by deleting the vestigial code. https://bugzilla.gnome.org/show_bug.cgi?id=719418
This commit is contained in:
parent
1002bbc212
commit
b1de1ada25
@ -1086,18 +1086,11 @@ const LoginDialog = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onUserListActivated: function(activatedItem) {
|
_onUserListActivated: function(activatedItem) {
|
||||||
let tasks = [function() {
|
|
||||||
return GdmUtil.cloneAndFadeOutActor(this._userSelectionBox);
|
|
||||||
},
|
|
||||||
function() {
|
|
||||||
this._setUserListExpanded(false);
|
|
||||||
}];
|
|
||||||
|
|
||||||
this._user = activatedItem.user;
|
this._user = activatedItem.user;
|
||||||
|
|
||||||
this._updateCancelButton();
|
this._updateCancelButton();
|
||||||
|
|
||||||
let batch = new Batch.ConcurrentBatch(this, [new Batch.ConsecutiveBatch(this, tasks),
|
let batch = new Batch.ConcurrentBatch(this, [GdmUtil.cloneAndFadeOutActor(this._userSelectionBox),
|
||||||
this._beginVerificationForItem(activatedItem)]);
|
this._beginVerificationForItem(activatedItem)]);
|
||||||
batch.run();
|
batch.run();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user