gdm: reset cancellable if cancelled.

Otherwise the second attempt tot login after pressing "escape" key
on the login "freeze" and raise an exception about IOError operation
cancelled.

https://bugzilla.gnome.org/show_bug.cgi?id=681537
This commit is contained in:
Alban Browaeys 2012-08-06 10:21:56 +02:00 committed by Giovanni Campagna
parent bec48492ab
commit 3c386e0c50

View File

@ -106,6 +106,7 @@ const ShellUserVerifier = new Lang.Class({
if (this._userVerifier) if (this._userVerifier)
this._userVerifier.call_cancel_sync(null); this._userVerifier.call_cancel_sync(null);
this._cancellable = new Gio.Cancellable();
}, },
clear: function() { clear: function() {