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
This commit is contained in:
Ray Strode 2013-02-20 10:40:01 -05:00
parent 92c877493a
commit 300c4d8432

View File

@ -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);