[gnome-boxes/gnome-3-8: 4/5] Revert "wizard: Focus sensitive Continue/Create buttons"



commit 953ce1a04144d6a499d9f9567a2ee294c53ab89b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Apr 18 14:20:53 2013 +0200

    Revert "wizard: Focus sensitive Continue/Create buttons"
    
    This reverts commit be58c071894b46090f51c1ccbaaff1892d16375a.
    
    This turned out to be a really bad idea: even a single character in
    username entry is sufficient for us to declare that we have all the
    needed info so username entry keeps loosing focus while user is trying
    to type in it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664218

 src/wizard.vala | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index fa2907b..704105e 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -671,9 +671,6 @@ private class Boxes.Wizard: Boxes.UI {
         // workaround for libgd bug #698289
         continue_button.label = _("C_ontinue");
         continue_button.get_style_context ().add_class ("boxes-continue");
-        continue_button.bind_property ("sensitive",
-                                       continue_button, "has-focus",
-                                       BindingFlags.SYNC_CREATE);
         continue_button.clicked.connect (() => {
             page = page + 1;
         });
@@ -684,9 +681,6 @@ private class Boxes.Wizard: Boxes.UI {
         // workaround for libgd bug #698289
         create_button.label = _("C_reate");
         create_button.get_style_context ().add_class ("boxes-continue");
-        create_button.bind_property ("sensitive",
-                                     create_button, "has-focus",
-                                     BindingFlags.SYNC_CREATE);
         create_button.clicked.connect (() => {
             page = page + 1;
         });


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