[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



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