[Goodies-commits] r6731 - in xfce4-mpc-plugin/trunk: . panel-plugin

Landry Breuil landry at xfce.org
Sat Feb 21 11:46:15 CET 2009


Author: landry
Date: 2009-02-21 10:46:15 +0000 (Sat, 21 Feb 2009)
New Revision: 6731

Modified:
   xfce4-mpc-plugin/trunk/TODO
   xfce4-mpc-plugin/trunk/panel-plugin/xfce4-mpc-plugin.c
Log:
Fix a crash when client str is > 30 char. (e.g ogg123 -d sndio http://url/mpd.ogg)
This would have to be wrapped smartly for display when replacing all str* calls.
Add some ideas in TODO while here.


Modified: xfce4-mpc-plugin/trunk/TODO
===================================================================
--- xfce4-mpc-plugin/trunk/TODO	2009-02-20 23:55:23 UTC (rev 6730)
+++ xfce4-mpc-plugin/trunk/TODO	2009-02-21 10:46:15 UTC (rev 6731)
@@ -1,2 +1,5 @@
 - improve playlist management, keep it persistent instead of creating it on each middle-click
 - add configurable title display string (with %artist%, %title%, %track%, %album%...) in tooltip and playlist
+- support multiple outputs enabling/disabling
+- add volume progressbar/slider ?
+- fix all strings length checking

Modified: xfce4-mpc-plugin/trunk/panel-plugin/xfce4-mpc-plugin.c
===================================================================
--- xfce4-mpc-plugin/trunk/panel-plugin/xfce4-mpc-plugin.c	2009-02-20 23:55:23 UTC (rev 6730)
+++ xfce4-mpc-plugin/trunk/panel-plugin/xfce4-mpc-plugin.c	2009-02-21 10:46:15 UTC (rev 6731)
@@ -161,7 +161,7 @@
 {
    DBG ("!");
    GtkWidget *label;
-   char str[30];
+   char str[128];
 
    t_mpc *mpc = dialog->mpc;
    mpc->mpd_host = g_strdup(gtk_entry_get_text(GTK_ENTRY(dialog->textbox_host)));




More information about the Goodies-commits mailing list