Mercurial > pidgin
diff libpurple/core.c @ 25098:331a7a69d955
Changed the theme_manager_init function to do less, makes it cleaner and faster (won't have to build
2+ times)
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Sun, 06 Jul 2008 05:57:26 +0000 |
parents | 5a02912e0bac |
children | 2ecd716746e6 |
line wrap: on
line diff
--- a/libpurple/core.c Mon Jun 30 23:12:54 2008 +0000 +++ b/libpurple/core.c Sun Jul 06 05:57:26 2008 +0000 @@ -143,13 +143,13 @@ purple_plugins_probe(G_MODULE_SUFFIX); + purple_theme_manager_init(); /* The buddy icon code uses the imgstore, so init it early. */ purple_imgstore_init(); /* Accounts use status, buddy icons and connection signals, so * initialize these before accounts */ - purple_theme_manager_init(g_object_new(PURPLE_TYPE_SOUND_THEME_LOADER, "type", "sound", NULL), NULL); purple_status_init(); purple_buddy_icons_init(); purple_connections_init(); @@ -172,7 +172,6 @@ purple_xfers_init(); purple_idle_init(); purple_smileys_init(); - /* * Call this early on to try to auto-detect our IP address and * hopefully save some time later. @@ -182,6 +181,7 @@ if (ops != NULL && ops->ui_init != NULL) ops->ui_init(); + purple_theme_manager_refresh(); return TRUE; }