mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
app chooser: sync sensitivity of search button
The code setting up the button has been move a little later in the dialog construction, with the effect that the entry is already insensitive when we set up the binding.
This commit is contained in:
parent
f217af54ca
commit
f55d210c12
@ -493,9 +493,9 @@ setup_search (GtkAppChooserDialog *self)
|
||||
g_object_bind_property (button, "active",
|
||||
self->priv->search_bar, "search-mode-enabled",
|
||||
G_BINDING_BIDIRECTIONAL);
|
||||
g_object_bind_property (button, "sensitive",
|
||||
self->priv->search_entry, "sensitive",
|
||||
G_BINDING_BIDIRECTIONAL);
|
||||
g_object_bind_property (self->priv->search_entry, "sensitive",
|
||||
button, "sensitive",
|
||||
G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user