[gnome-boxes/express-install-password-setup] unattended-setup-box: Don't still input focus from username entry



commit 76c9fec11fcd7dee1478212cec4f8b30af7308bd
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon May 13 12:46:28 2019 +0200

    unattended-setup-box: Don't still input focus from username entry
    
    When users are typing in the Username entry (in the Wizard), we
    run checks that verify whether all the info required to perform an
    express installation has already been inputed.
    
    Commit 9746c63 introduced a bug in which the password entry was
    grabing focus (and consequently stealing it from username entry)
    for the period when the password entry is empty.
    
    Fixes #347

 src/unattended-setup-box.vala | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/unattended-setup-box.vala b/src/unattended-setup-box.vala
index a6cf96b5..a2aa1152 100644
--- a/src/unattended-setup-box.vala
+++ b/src/unattended-setup-box.vala
@@ -79,11 +79,6 @@
             if (password != "")
                 return false;
 
-            if (_needs_password) {
-                password_notebook.next_page ();
-                password_entry.grab_focus ();
-            }
-
             return _needs_password;
         }
 


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