From b1de1ada25ef155f20864447c78b0e18c71a5586 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 16 Mar 2015 07:38:04 -0400 Subject: [PATCH] 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 --- js/gdm/loginDialog.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index c269cb30c..6cb8d42b5 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1086,18 +1086,11 @@ const LoginDialog = new Lang.Class({ }, _onUserListActivated: function(activatedItem) { - let tasks = [function() { - return GdmUtil.cloneAndFadeOutActor(this._userSelectionBox); - }, - function() { - this._setUserListExpanded(false); - }]; - this._user = activatedItem.user; 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)]); batch.run(); },