changeset 1810:df23110701d0 trunk

[svn] - load skins before creating the UI
author nenolod
date Wed, 04 Oct 2006 23:11:06 -0700
parents deac24028172
children a6a248bfafc3
files ChangeLog audacious/main.c
diffstat 2 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 04 23:09:40 2006 -0700
+++ b/ChangeLog	Wed Oct 04 23:11:06 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-05 06:09:40 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2575]
+  - more hardcoded values removed
+  
+  trunk/audacious/mainwin.c |   20 +++++++++++---------
+  1 file changed, 11 insertions(+), 9 deletions(-)
+
+
 2006-10-05 06:05:41 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2573]
   - make sure all size requests match the skin size
--- a/audacious/main.c	Wed Oct 04 23:09:40 2006 -0700
+++ b/audacious/main.c	Wed Oct 04 23:11:06 2006 -0700
@@ -1071,16 +1071,16 @@
 
         gtk_accel_map_load(bmp_paths[BMP_PATH_ACCEL_FILE]);
 
+        if (!init_skins(cfg.skin)) {
+            run_load_skin_error_dialog(cfg.skin);
+            exit(EXIT_FAILURE);
+        }
+
         mainwin_create();
 
         playlistwin_create();
         equalizerwin_create();
 
-        if (!init_skins(cfg.skin)) {
-            run_load_skin_error_dialog(cfg.skin);
-            exit(EXIT_FAILURE);
-        }
-
         GDK_THREADS_ENTER();
     }