audacious/audacious-1.5.1-xmms-skins.patch

19 lines
602 B
Diff

--- audacious-1.5.1/src/audacious/ui_skinselector.c 2008-05-24 00:00:34.000000000 +0200
+++ audacious-1.5.1/src/audacious/ui_skinselector.c-gil 2008-09-02 14:36:16.000000000 +0200
@@ -251,11 +251,15 @@
skinlist_update(void)
{
gchar *skinsdir;
+ gchar xmmsskinsdir[] = "/usr/share/xmms/Skins";
skinlist_clear();
scan_skindir(aud_paths[BMP_PATH_USER_SKIN_DIR]);
scan_skindir(DATA_DIR G_DIR_SEPARATOR_S "Skins");
+ if (g_file_test(xmmsskinsdir, G_FILE_TEST_IS_DIR)) {
+ scan_skindir( xmmsskinsdir );
+ }
skinsdir = getenv("SKINSDIR");
if (skinsdir) {