searchbar: bind property bidirectional

This commit is contained in:
Ignacio Casal Quinteiro 2013-06-22 12:27:04 +02:00
parent 66556e061b
commit f1e303419c

View file

@ -151,7 +151,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
// search bar // search bar
d_search_bar.connect_entry(d_search_entry); d_search_bar.connect_entry(d_search_entry);
d_search_button.bind_property("active", d_search_bar, "search-mode-enabled"); d_search_button.bind_property("active", d_search_bar, "search-mode-enabled", BindingFlags.BIDIRECTIONAL);
} }
private void on_close_activated() private void on_close_activated()