diff src/audacious/main.c @ 3978:40db2fe8d073

- fixed custom stock icons that were not displayed
author Giacomo Lozito <james@develia.org>
date Mon, 19 Nov 2007 23:22:21 +0100
parents aea8b763b134
children 17bf734f8187
line wrap: on
line diff
--- a/src/audacious/main.c	Mon Nov 19 21:35:25 2007 +0100
+++ b/src/audacious/main.c	Mon Nov 19 23:22:21 2007 +0100
@@ -1468,9 +1468,13 @@
     {
       ui_main_check_theme_engine();
 
+      /* register icons in stock
+         NOTE: should be called before UIManager */
+      register_aud_stock_icons();
+
       /* UIManager
          NOTE: this needs to be called before plugin init, cause
-         plugin init functions may want to add custom menu entries */ 
+         plugin init functions may want to add custom menu entries */
       ui_manager_init();
       ui_manager_create_menus();
     }
@@ -1491,9 +1495,6 @@
 
     if (options.headless != 1)
     {
-        /* register icons in stock */
-        register_aud_stock_icons();
-
         bmp_set_default_icon();
 #ifdef GDK_WINDOWING_QUARTZ
         set_dock_icon();