mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
loginDialog: add support for auth without username / fix Not Listed?
commit 93f072d1fc attempted to
add support for auth without a username to the login screen, but
do to a messed up rebase only partially added it.
This commit fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=706607
This commit is contained in:
parent
34ec457a47
commit
5f9e50175f
1 changed files with 5 additions and 10 deletions
|
|
@ -475,11 +475,7 @@ const LoginDialog = new Lang.Class({
|
|||
x_align: St.Align.START,
|
||||
x_fill: true });
|
||||
|
||||
this._notListedButton.connect('clicked',
|
||||
Lang.bind(this, function() {
|
||||
this._authPrompt.cancelButton.show();
|
||||
this._hideUserListAndLogIn();
|
||||
}));
|
||||
this._notListedButton.connect('clicked', Lang.bind(this, this._hideUserListAskForUsernameAndBeginVerification));
|
||||
|
||||
this._notListedButton.hide();
|
||||
|
||||
|
|
@ -595,12 +591,11 @@ const LoginDialog = new Lang.Class({
|
|||
|
||||
this._user = null;
|
||||
|
||||
if (this._disableUserList) {
|
||||
this._authPrompt.cancelButton.hide();
|
||||
this._hideUserListAndLogIn();
|
||||
} else {
|
||||
if (!this._disableUserList &&
|
||||
beginRequest == AuthPrompt.BeginRequestType.PROVIDE_USERNAME)
|
||||
this._showUserList();
|
||||
}
|
||||
else
|
||||
this._hideUserListAndBeginVerification();
|
||||
},
|
||||
|
||||
_onDefaultSessionChanged: function(client, sessionId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue