From a7bb6a27819ac2a8eac40888543a581c12385d8a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Feb 2013 23:50:29 -0500 Subject: [PATCH] Show the session list when needed Some of the conditions for showing the user list were not properly inverted, causing the session list to be hidden when it shouldn't be and shown when it shouldn't be. https://bugzilla.gnome.org/show_bug.cgi?id=694784 --- js/gdm/loginDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index ee366e41c..cd8dff5f2 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -753,7 +753,7 @@ const LoginDialog = new Lang.Class({ time: _FADE_ANIMATION_TIME, transition: 'easeOutQuad' }); - if (!this._user || (this._user.is_logged_in() && this._verifyingUser)) + if ((this._user && !this._user.is_logged_in()) || this._verifyingUser) this._sessionList.actor.show(); this._promptEntry.grab_key_focus();