[gnome-shell] gdm: make entry reactive when asking user question



commit 300c4d84321a0b4778a594e06605729ad9bb3961
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 20 10:40:01 2013 -0500

    gdm: make entry reactive when asking user question
    
    We disable the entry after a user answers a question while we
    process it, but we don't reactivate it later if asked another
    one.
    
    This commit makes sure the entry is always reactive when we
    are waiting for an answer from the user.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691806

 js/gdm/loginDialog.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 70d091f..ee366e4 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -881,6 +881,7 @@ const LoginDialog = new Lang.Class({
     _askQuestion: function(verifier, serviceName, question, passwordChar) {
         this._promptLabel.set_text(question);
 
+        this._updateSensitivity(true);
         this._promptEntry.set_text('');
         this._promptEntry.clutter_text.set_password_char(passwordChar);
 


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