[gnome-shell] UnlockDialog: clear the password on failure



commit a0470bfc6648214325f1024bed1e5626839d885f
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Oct 29 17:43:28 2012 +0100

    UnlockDialog: clear the password on failure
    
    It is wrong, and the user can't correct it because it's obfuscated.
    Just let him type it again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687132

 js/ui/unlockDialog.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index b119783..a902563 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -282,6 +282,7 @@ const UnlockDialog = new Lang.Class({
         this._currentQuery = null;
         this._firstQuestion = true;
 
+        this._promptEntry.text = '';
         this._promptEntry.clutter_text.set_password_char('\u25cf');
         this._promptEntry.menu.isPassword = true;
 



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