[gnome-shell] Show the session list when needed
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Show the session list when needed
- Date: Wed, 27 Feb 2013 23:10:42 +0000 (UTC)
commit a7bb6a27819ac2a8eac40888543a581c12385d8a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 26 23:50:29 2013 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index ee366e4..cd8dff5 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();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]