[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] 01/02: Allow %file% in format_song_display (bug #12973)

noreply at xfce.org noreply at xfce.org
Thu Nov 24 09:00:35 CET 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-mpc-plugin.

commit 4c416b95fb0acb0bd8bbf6aec61130a028904171
Author: Armando Ortega <armandoortega at gmail.com>
Date:   Thu Nov 24 09:00:06 2016 +0100

    Allow %file% in format_song_display (bug #12973)
---
 panel-plugin/xfce4-mpc-plugin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index ee9300b..0afb4a2 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -426,6 +426,7 @@ format_song_display(mpd_Song* song, GString *str, t_mpc* mpc)
    str_replace(str, "%album%", song->album);
    str_replace(str, "%title%", song->title);
    str_replace(str, "%track%", song->track);
+   str_replace(str, "%file%", song->file);
 }
 
 static gboolean

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list