Mercurial > audlegacy
changeset 3236:74a999f3f4d2
Unbreak XMMS/GTK1 file selector.
Pointed out by ccr.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Fri, 03 Aug 2007 22:17:41 -0500 |
parents | c48ce3f67130 |
children | 12bc288a7511 ceaaadccfa00 |
files | src/audacious/ui_fileopener.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_fileopener.c Fri Aug 03 21:52:25 2007 -0500 +++ b/src/audacious/ui_fileopener.c Fri Aug 03 22:17:41 2007 -0500 @@ -279,7 +279,9 @@ while (files[ctr] != NULL) { - playlist_add(playlist, files[ctr++]); + gchar *filename = g_filename_to_uri((const gchar *) files[ctr++], NULL, NULL); + playlist_add(playlist, filename); + g_free(filename); } playlistwin_update_list(playlist);