diff src/audacious/legacy/ui_skin.c @ 4707:512217ec24cc

removed some UI calls from the prefs code
author mf0102 <0102@gmx.at>
date Mon, 07 Jul 2008 23:13:55 +0200
parents 3a56d2786063
children
line wrap: on
line diff
--- a/src/audacious/legacy/ui_skin.c	Mon Jul 07 23:01:59 2008 +0200
+++ b/src/audacious/legacy/ui_skin.c	Mon Jul 07 23:13:55 2008 +0200
@@ -1641,14 +1641,18 @@
 gboolean
 skin_reload_forced(void) 
 {
-   gboolean error;
-   AUDDBG("\n");
+    gboolean error;
+    AUDDBG("\n");
 
-   skin_lock(aud_active_skin);
-   error = skin_load_nolock(aud_active_skin, aud_active_skin->path, TRUE);
-   skin_unlock(aud_active_skin);
+    skin_lock(aud_active_skin);
+    error = skin_load_nolock(aud_active_skin, aud_active_skin->path, TRUE);
+    skin_unlock(aud_active_skin);
 
-   return error;
+    ui_skinned_window_draw_all(mainwin);
+    ui_skinned_window_draw_all(equalizerwin);
+    ui_skinned_window_draw_all(playlistwin);
+
+    return error;
 }
 
 void