changeset 839:247d1f58fbfe trunk

[svn] - archive support
author nenolod
date Fri, 17 Mar 2006 20:07:11 -0800
parents 90a8a5e47d7f
children ffc5ab7b4b2c
files audacious/skin.c
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/skin.c	Fri Mar 17 19:11:49 2006 -0800
+++ b/audacious/skin.c	Fri Mar 17 20:07:11 2006 -0800
@@ -163,9 +163,6 @@
     if (!skin_load(bmp_active_skin, path))
         return FALSE;
 
-    /* Parse the hints for this skin. */
-    skin_parse_hints(bmp_active_skin, NULL);
-
     skin_setup_masks(bmp_active_skin);
     draw_main_window(TRUE);
     draw_playlist_window(TRUE);
@@ -832,6 +829,10 @@
     if (!file_is_archive(path)) {
         skin_load_pixmaps(skin, path);
         skin_load_cursor(skin, path);
+
+        /* Parse the hints for this skin. */
+        skin_parse_hints(skin, NULL);
+
         return TRUE;
     }
 
@@ -842,6 +843,10 @@
 
     skin_load_pixmaps(skin, cpath);
     skin_load_cursor(skin, cpath);
+
+    /* Parse the hints for this skin. */
+    skin_parse_hints(skin, cpath);
+
     del_directory(cpath);
     g_free(cpath);