[totem] grilo: Call Tracker "Local" in search
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Call Tracker "Local" in search
- Date: Tue, 21 Jan 2014 16:31:44 +0000 (UTC)
commit a0f61169abc84e85f7c1262ce0217d6e88499103
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 17 18:43:19 2014 +0100
grilo: Call Tracker "Local" in search
src/plugins/grilo/totem-grilo.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 9ead138..817af9b 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -875,7 +875,10 @@ source_added_cb (GrlRegistry *registry,
self = TOTEM_GRILO_PLUGIN (user_data);
id = grl_source_get_id (source);
- name = grl_source_get_name (source);
+ if (g_str_equal (id, "grl-tracker-source"))
+ name = _("Local");
+ else
+ name = grl_source_get_name (source);
ops = grl_source_supported_operations (source);
if (ops & GRL_OP_BROWSE) {
@@ -899,8 +902,6 @@ source_added_cb (GrlRegistry *registry,
}
}
if (ops & GRL_OP_SEARCH) {
- /* FIXME:
- * Handle tracker/filesystem specifically, so that we have a "local" entry here */
totem_search_entry_add_source (TOTEM_SEARCH_ENTRY (self->priv->search_entry),
grl_source_get_id (source),
name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]