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
This commit is contained in:
parent
41f14e0e89
commit
a7bb6a2781
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user