[gnome-boxes] Revert "wizard: Focus sensitive Continue/Create buttons"



commit 6d37c8d41a1bd67d67b76632329b9921acae468a
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 f748e03..07cd380 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -668,9 +668,6 @@ private class Boxes.Wizard: Boxes.UI {
         continue_button.use_underline = true;
         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;
         });
@@ -680,9 +677,6 @@ private class Boxes.Wizard: Boxes.UI {
         create_button.use_underline = true;
         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]