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:
committed by
Erick Pérez Castellanos
parent
0002e7640f
commit
d65f01c3f2
+2
-2
@@ -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_object_bind_property (GCAL_WINDOW (object), "active-date", priv->views[GCAL_WINDOW_VIEW_SEARCH], "active-date",
|
||||||
G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
|
G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
|
||||||
g_object_bind_property (GTK_TOGGLE_BUTTON (priv->search_button), "active", priv->views[GCAL_WINDOW_VIEW_SEARCH],
|
g_object_bind_property (gtk_bin_get_child (GTK_BIN (priv->search_bar)), "child-revealed",
|
||||||
"visible", G_BINDING_DEFAULT);
|
priv->views[GCAL_WINDOW_VIEW_SEARCH], "visible", G_BINDING_DEFAULT);
|
||||||
|
|
||||||
/* signals connection/handling */
|
/* signals connection/handling */
|
||||||
/* HACK to ensure proper destroy of search-view widget */
|
/* HACK to ensure proper destroy of search-view widget */
|
||||||
|
|||||||
Reference in New Issue
Block a user