gdmUtil: Fix auth prompt drawing over user list
If the user fails to enter their password then hits escape, we jump back to the user list, then ask again for a password in a garbled screen. this commit fixes that by skipping a retry if the operation is cancelled. https://bugzilla.gnome.org/show_bug.cgi?id=784361
This commit is contained in:
parent
2b459ff202
commit
0f8718287a
@ -540,6 +540,7 @@ const ShellUserVerifier = new Lang.Class({
|
|||||||
let signalId = this.connect('no-more-messages',
|
let signalId = this.connect('no-more-messages',
|
||||||
Lang.bind(this, function() {
|
Lang.bind(this, function() {
|
||||||
this.disconnect(signalId);
|
this.disconnect(signalId);
|
||||||
|
if (this._cancellable && !this._cancellable.is_cancelled())
|
||||||
this._retry();
|
this._retry();
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user