[totem] grilo: Set the search string when searching



commit 69f7971d5c5caf026c9dd1a9fcab34b7949379c8
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 14 20:28:07 2014 +0100

    grilo: Set the search string when searching

 src/plugins/grilo/totem-grilo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 726df31..1615206 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -663,6 +663,8 @@ search_entry_activate_cb (GtkEntry *entry, TotemGriloPlugin *self)
        text = totem_search_entry_get_text (TOTEM_SEARCH_ENTRY (self->priv->search_entry));
        g_return_if_fail (text != NULL);
 
+       g_object_set (self->priv->header, "search-string", text, NULL);
+
        self->priv->in_search = TRUE;
        search (self, source, text);
 }


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