[grilo-plugins] freebox: Add source-tags property



commit ebb9dd0e02b8adcd9c7efafff6a38e003f3dd922
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 10 12:42:41 2014 +0100

    freebox: Add source-tags property
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724019

 src/freebox/grl-freebox.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/freebox/grl-freebox.c b/src/freebox/grl-freebox.c
index 7d53872..cfc53f2 100644
--- a/src/freebox/grl-freebox.c
+++ b/src/freebox/grl-freebox.c
@@ -163,6 +163,11 @@ grl_freebox_source_new (void)
   GIcon *icon;
   GFile *file;
   GrlFreeboxSource *object;
+  const char *tags[] = {
+    "tv",
+    "country:fr",
+    NULL
+  };
 
   GRL_DEBUG ("%s", __FUNCTION__);
 
@@ -175,6 +180,7 @@ grl_freebox_source_new (void)
                          "source-desc", SOURCE_DESC,
                          "supported-media", GRL_MEDIA_TYPE_VIDEO,
                          "source-icon", icon,
+                         "source-tags", tags,
                          NULL);
   return object;
 }


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