window: show the search popover when the entry is mapped

This avois the flickering of the popover trying to reach an unmaped widget.
This commit is contained in:
Georges Basile Stavracas Neto
2015-01-09 09:16:42 -05:00
committed by Erick Pérez Castellanos
parent 0002e7640f
commit d65f01c3f2
+2 -2
View File
@@ -1336,8 +1336,8 @@ gcal_window_constructed (GObject *object)
g_object_bind_property (GCAL_WINDOW (object), "active-date", priv->views[GCAL_WINDOW_VIEW_SEARCH], "active-date",
G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
g_object_bind_property (GTK_TOGGLE_BUTTON (priv->search_button), "active", priv->views[GCAL_WINDOW_VIEW_SEARCH],
"visible", G_BINDING_DEFAULT);
g_object_bind_property (gtk_bin_get_child (GTK_BIN (priv->search_bar)), "child-revealed",
priv->views[GCAL_WINDOW_VIEW_SEARCH], "visible", G_BINDING_DEFAULT);
/* signals connection/handling */
/* HACK to ensure proper destroy of search-view widget */