]> git.pld-linux.org Git - packages/audacious.git/blob - bmp-xmms-skins-dir.patch
- updated for 1.2.2
[packages/audacious.git] / bmp-xmms-skins-dir.patch
1 --- bmp-0.9.7.1/beep/skinwin.c.orig     2005-03-23 05:55:12.000000000 +0100
2 +++ bmp-0.9.7.1/beep/skinwin.c  2005-11-01 10:24:16.226140176 +0100
3 @@ -231,12 +231,18 @@
4  void
5  skinlist_update(void)
6  {
7 -    gchar *skinsdir;
8 +    gchar *str, *skinsdir;
9  
10      skinlist_clear();
11  
12      scan_skindir(bmp_paths[BMP_PATH_USER_SKIN_DIR]);
13      scan_skindir(DATA_DIR G_DIR_SEPARATOR_S BMP_SKIN_DIR_BASENAME);
14 +    str = g_strconcat(g_get_home_dir(), "/.xmms/Skins", NULL);
15 +    scan_skindir(str);
16 +    g_free(str);
17 +    str = g_strconcat("/usr/share/xmms", "/Skins", NULL);
18 +    scan_skindir(str);
19 +    g_free(str);
20  
21      skinsdir = getenv("SKINSDIR");
22      if (skinsdir) {
This page took 0.202542 seconds and 3 git commands to generate.