[gnome-shell] gdm: fix empty user list on user switching



commit b1de1ada25ef155f20864447c78b0e18c71a5586
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 16 07:38:04 2015 -0400

    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 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index c269cb3..6cb8d42 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();
     },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]