[gnome-logs] Connect search entry to the search bar



commit 2785efd2a94e4e9fa52fa569bfa8662ae65d312e
Author: Jonathan Kang <jonathan121537 gmail com>
Date:   Sat Oct 22 17:27:51 2016 +0800

    Connect search entry to the search bar
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773347

 src/gl-eventviewlist.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventviewlist.c b/src/gl-eventviewlist.c
index c54ffd6..85d65ad 100644
--- a/src/gl-eventviewlist.c
+++ b/src/gl-eventviewlist.c
@@ -970,6 +970,9 @@ gl_event_view_list_init (GlEventViewList *view)
     g_signal_connect (priv->entries_box, "row-activated",
                       G_CALLBACK (on_listbox_row_activated), GTK_BOX (view));
 
+    gtk_search_bar_connect_entry (GTK_SEARCH_BAR (priv->event_search),
+                                  GTK_ENTRY (priv->search_entry));
+
     /* TODO: Monitor and propagate any GSettings changes. */
     settings = g_settings_new (DESKTOP_SCHEMA);
     priv->clock_format = g_settings_get_enum (settings, CLOCK_FORMAT);


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