Re: [PATCH] Introduce YouTube's XML file and tweak Grilo test UI



So, it seems the files with the code failed to arrive...

Here they are.

--
Joaquim Rocha

On Wed, 2010-06-09 at 10:28 +0200, Joaquim Rocha wrote:
> Hi,
> 
> As promised here is a way of testing the plugin's info from XML changes.
> 
> Apply this patch that makes Grilo test UI display the plugin's name
> instead of the source name (this will display the name set from the XML).
> 
> YouTube's XML file should be copied to the same folder where the youtube's
> Grilo plugin is.
> 
> Joaquim Rocha (1):
>   [grilo-test-ui] Use plugin's name to display the source's name
> 
>  tools/grilo-test-ui/main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

From 03c77cdb563e22bb7a6bddc930ad24cd332e9f7c Mon Sep 17 00:00:00 2001
From: Joaquim Rocha <jrocha igalia com>
Date: Wed, 9 Jun 2010 10:22:42 +0200
Subject: [PATCH] [grilo-test-ui] Use plugin's name to display the source's name

---
 tools/grilo-test-ui/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index ca1cf21..08b5bdb 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1419,7 +1419,7 @@ show_plugins ()
     GdkPixbuf *icon;
     icon = load_icon (GTK_STOCK_DIRECTORY);
     name =
-      g_strdup (grl_metadata_source_get_name (GRL_METADATA_SOURCE (sources[i])));
+      g_strdup (grl_media_plugin_get_name (GRL_MEDIA_PLUGIN (sources[i])));
     g_debug ("Loaded source: '%s'", name);
     gtk_list_store_append (GTK_LIST_STORE (view->browser_model), &iter);
     gtk_list_store_set (GTK_LIST_STORE (view->browser_model),
-- 
1.7.0.4

Attachment: libgrlyoutube.xml
Description: application/xml

Attachment: signature.asc
Description: This is a digitally signed message part



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