Mercurial > audlegacy
diff src/audacious/main.c @ 3400:8764498b75ed
Add new playlists directory to paths
author | Kieran Clancy <clancy.kieran+audacious@gmail.com> |
---|---|
date | Sun, 26 Aug 2007 23:00:02 +0930 |
parents | 7a4fcf84a34f |
children | 709cd9c2fa8f 540e49d1d87c |
line wrap: on
line diff
--- a/src/audacious/main.c Sun Aug 26 15:16:52 2007 +0200 +++ b/src/audacious/main.c Sun Aug 26 23:00:02 2007 +0930 @@ -485,6 +485,7 @@ make_directory(bmp_paths[BMP_PATH_USER_PLUGIN_DIR], mode755); make_directory(bmp_paths[BMP_PATH_USER_SKIN_DIR], mode755); make_directory(bmp_paths[BMP_PATH_SKIN_THUMB_DIR], mode755); + make_directory(bmp_paths[BMP_PATH_PLAYLISTS_DIR], mode755); } static void @@ -526,6 +527,9 @@ bmp_paths[BMP_PATH_SKIN_THUMB_DIR] = g_build_filename(xdg_cache_home, "audacious", "thumbs", NULL); + bmp_paths[BMP_PATH_PLAYLISTS_DIR] = + g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "playlists", NULL); + bmp_paths[BMP_PATH_CONFIG_FILE] = g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "config", NULL); #ifdef HAVE_XSPF_PLAYLIST