summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-04-18 14:20:53 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-04-18 14:22:00 +0200
commit066fdb9c96b80cfbf248f5ca680acec13af021ee (patch)
tree16cd5b38c8c6b98e6b5f5695208c44ff34026277
parent464f13f2c6be53d0abc51ea4242e5b5c63ad1505 (diff)
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
-rw-r--r--src/wizard.vala6
1 files changed, 0 insertions, 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;
});