[gnome-calendar] window: readd binding between search button and search mode



commit f83c5865a3d0c2222233cbe3cec668180b8071ae
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jan 3 11:24:57 2015 -0200

    window: readd binding between search button and search mode
    
    This should've been lost somewhere.

 src/gcal-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 1cc548b..e04b7dd 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -1292,6 +1292,9 @@ gcal_window_constructed (GObject *object)
                           "active-date",
                           G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
 
+  g_object_bind_property (priv->search_button, "active", priv->search_bar, "search-mode-enabled",
+                          G_BINDING_BIDIRECTIONAL);
+
   /* signals connection/handling */
   /* HACK to ensure proper destroy of search-view widget */
   g_signal_connect_swapped (priv->views_stack, "destroy",


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