summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-19 17:32:41 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-01-19 17:32:41 +0100
commit17723ec6826e0cfba5adeee2696a89504662a662 (patch)
tree1cc2c46538a1f6ec745f562cf3e3d3501a72d70f
parent8395223cc9ce0da3a8a1ae062b420f95be66fb8c (diff)
[pltbrowser] better plugin name and description
-rw-r--r--plugins/pltbrowser/pltbrowser.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/pltbrowser/pltbrowser.c b/plugins/pltbrowser/pltbrowser.c
index 0d729715..6f05df89 100644
--- a/plugins/pltbrowser/pltbrowser.c
+++ b/plugins/pltbrowser/pltbrowser.c
@@ -222,7 +222,6 @@ static int
pltbrowser_connect (void) {
gtkui_plugin = (ddb_gtkui_t *)deadbeef->plug_get_for_id (DDB_GTKUI_PLUGIN_ID);
if(!gtkui_plugin) {
- fprintf (stderr, "pltbrowser: can't find gtkui plugin\n");
return -1;
}
gtkui_plugin->w_reg_widget (_("Playlist browser"), 0, w_pltbrowser_create, "pltbrowser", NULL);
@@ -249,8 +248,12 @@ static DB_misc_t plugin = {
#else
.plugin.id = "pltbrowser_gtk2",
#endif
- .plugin.name = "pltbrowser",
- .plugin.descr = "Playlist browser",
+#if GTK_CHECK_VERSION(3,0,0)
+ .plugin.name = "Playlist browser GTK3",
+#else
+ .plugin.name = "Playlist browser GTK2",
+#endif
+ .plugin.descr = "Use View -> Design Mode to add playlist browser into main window",
.plugin.copyright =
"DeaDBeeF -- the music player\n"
"Copyright (C) 2009-2013 Alexey Yakovenko and other contributors\n"