[gnome-shell] loginDialog: don't show Not Listed? button before user list
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: don't show Not Listed? button before user list
- Date: Wed, 26 Jun 2013 15:46:34 +0000 (UTC)
commit 74ad6abfc205977dd2798d06e9f1a5072cda7b42
Author: Ray Strode <rstrode redhat com>
Date: Wed Jun 26 10:52:02 2013 -0400
loginDialog: don't show Not Listed? button before user list
Right now, there's a weird flicker at start up where the
Not Listed? button shows up before the user list, which looks
pretty bad if you're watching for it.
This commit fixes that problem by hiding the Not Listed button
initially and showing it at the appropriate time.
https://bugzilla.gnome.org/show_bug.cgi?id=703132
js/gdm/loginDialog.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index af5103a..6b00007 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -621,6 +621,7 @@ const LoginDialog = new Lang.Class({
x_fill: true });
this._notListedButton.connect('clicked', Lang.bind(this, this._hideUserListAndLogIn));
+ this._notListedButton.hide();
this._userSelectionBox.add(this._notListedButton,
{ expand: false,
@@ -1153,6 +1154,7 @@ const LoginDialog = new Lang.Class({
_showUserList: function() {
this._hidePrompt();
this._setUserListExpanded(true);
+ this._notListedButton.show();
this._userList.actor.grab_key_focus();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]