[gnome-shell] gdm: reset cancellable if cancelled.



commit 3c386e0c503f70186f8a49281803137c51940624
Author: Alban Browaeys <prahal yahoo com>
Date:   Mon Aug 6 10:21:56 2012 +0200

    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

 js/gdm/util.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 83b0fe0..d07d1b2 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -106,6 +106,7 @@ const ShellUserVerifier = new Lang.Class({
 
         if (this._userVerifier)
             this._userVerifier.call_cancel_sync(null);
+        this._cancellable = new Gio.Cancellable();
     },
 
     clear: function() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]