[gnome-calendar/search-improvements] window: show the search popover when the entry is mapped
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/search-improvements] window: show the search popover when the entry is mapped
- Date: Thu, 8 Jan 2015 14:28:20 +0000 (UTC)
commit 4d2ece74d3ed61f76667be14086a837c45465068
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jan 8 12:27:54 2015 -0200
window: show the search popover when the entry is mapped
This avois the flickering of the popover trying to reach an unmaped widget.
src/gcal-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index d5a5fd1..e212abc 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]