unlockDialog: Show clock when canceling or failing auth

There is still a problem of focus not going to the entry after the
first cancel, but it seems to work fine otherwise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:
Georges Basile Stavracas Neto 2019-11-29 16:14:26 -03:00 committed by Florian Müllner
parent b9c7631a55
commit 3651cb2047

View File

@ -591,6 +591,7 @@ var UnlockDialog = GObject.registerClass({
}
_fail() {
this._showClock();
this.emit('failed');
}