# HG changeset patch # User nenolod # Date 1172454930 28800 # Node ID 9713b5a67cbab745ab98d681caf7bfb8d66eef01 # Parent 40407b7363f30c20ea70da56dab118ebebff55d5 [svn] - make directory drag-and-drop work again. diff -r 40407b7363f3 -r 9713b5a67cba ChangeLog --- a/ChangeLog Sun Feb 25 00:53:19 2007 -0800 +++ b/ChangeLog Sun Feb 25 17:55:30 2007 -0800 @@ -1,3 +1,11 @@ +2007-02-25 08:53:19 +0000 William Pitcock + revision [4158] + - enforce playback stop when clearing the playlist to load new files in. closes #808. + + trunk/src/audacious/main.c | 3 +++ + 1 file changed, 3 insertions(+) + + 2007-02-25 08:43:25 +0000 William Pitcock revision [4156] - update documentation diff -r 40407b7363f3 -r 9713b5a67cba src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Sun Feb 25 00:53:19 2007 -0800 +++ b/src/audacious/build_stamp.c Sun Feb 25 17:55:30 2007 -0800 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070225-4156"; +const gchar *svn_stamp = "20070225-4158"; diff -r 40407b7363f3 -r 9713b5a67cba src/audacious/playlist.c --- a/src/audacious/playlist.c Sun Feb 25 00:53:19 2007 -0800 +++ b/src/audacious/playlist.c Sun Feb 25 17:55:30 2007 -0800 @@ -939,7 +939,7 @@ decoded = g_strdup(string); - if (g_file_test(decoded, G_FILE_TEST_IS_DIR)) { + if (vfs_file_test(decoded, G_FILE_TEST_IS_DIR)) { i = playlist_ins_dir(playlist, decoded, pos, FALSE); } else { diff -r 40407b7363f3 -r 9713b5a67cba src/audacious/vfs.c --- a/src/audacious/vfs.c Sun Feb 25 00:53:19 2007 -0800 +++ b/src/audacious/vfs.c Sun Feb 25 17:55:30 2007 -0800 @@ -334,7 +334,19 @@ gboolean vfs_file_test(const gchar * path, GFileTest test) { - return g_file_test(path, test); + gchar *path2; + gboolean ret; + + if (strlen(path) > 5) + path2 = xmms_urldecode_plain(path + 5); /* skip file: */ + else + path2 = g_strdup(path); + + ret = g_file_test(path2, test); + + g_free(path2); + + return ret; } /**