[gnome-boxes/gnome-3-32] unattended-setup-box: Don't steal input focus from username entry
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-32] unattended-setup-box: Don't steal input focus from username entry
- Date: Mon, 13 May 2019 13:57:54 +0000 (UTC)
commit 96dd234f87d61a6efcc8c0e406e333d88aeefbfa
Author: Felipe Borges <felipeborges gnome org>
Date: Mon May 13 12:46:28 2019 +0200
unattended-setup-box: Don't steal 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]