[gnome-shell/gnome-3-22] loginDialog: don't allow type ahead at the login screen



commit 51f314ab71a79e40d6ccab8e6eef5fc873d3acbc
Author: Ray Strode <rstrode redhat com>
Date:   Mon May 9 08:59:46 2016 -0400

    loginDialog: don't allow type ahead at the login screen
    
    It's weird if after you select a username from the user list, there's
    a password already filled in.
    
    This commit disables at that feature for the login screen
    (but keeps it in tact for the unlock screen)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766139

 js/gdm/loginDialog.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index d88e50f..0b6c0b5 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -1225,7 +1225,7 @@ const LoginDialog = new Lang.Class({
     },
 
     addCharacter: function(unichar) {
-        this._authPrompt.addCharacter(unichar);
+        // Don't allow type ahead at the login screen
     },
 
     finish: function(onComplete) {


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