[totem] grilo: Fix searchbar/entry connection
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Fix searchbar/entry connection
- Date: Wed, 3 Jul 2013 14:35:34 +0000 (UTC)
commit f8a5e24f77a513602ba02d3495f326cc32206230
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jul 3 16:23:36 2013 +0200
grilo: Fix searchbar/entry connection
src/plugins/grilo/totem-grilo.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 40d9e56..9a6c754 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -1297,7 +1297,8 @@ setup_browse (TotemGriloPlugin *self,
self->priv->search_results_model = GTK_TREE_MODEL (gtk_builder_get_object (builder,
"gw_search_store_results"));
self->priv->search_sources_list = GTK_WIDGET (gtk_builder_get_object (builder,
"gw_search_select_source"));
self->priv->search_entry = GTK_WIDGET (gtk_builder_get_object (builder, "gw_search_text"));
- g_object_set (self->priv->search_bar, "entry", totem_search_entry_get_entry
(self->priv->search_entry), NULL);
+ gtk_search_bar_connect_entry (GTK_SEARCH_BAR (self->priv->search_bar),
+ totem_search_entry_get_entry (TOTEM_SEARCH_ENTRY
(self->priv->search_entry)));
g_signal_connect (self->priv->main_window, "key-press-event",
G_CALLBACK (window_key_press_event_cb), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]