Mercurial > pidgin.yaz
comparison libpurple/core.c @ 25365:367b3ddcf5c3
propagate from branch 'im.pidgin.pidgin' (head 81aa401ac9855c99eb55a7cf91fa221860dee220)
to branch 'im.pidgin.pidgin.next.minor' (head cf7b71a77c33c3e1d2f392c46d090fb936eb47b7)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 08 Dec 2008 17:57:09 +0000 |
parents | 1eacf60a73dd |
children | c0b42d6c2785 |
comparison
equal
deleted
inserted
replaced
24656:6f41450584a7 | 25365:367b3ddcf5c3 |
---|---|
44 #include "proxy.h" | 44 #include "proxy.h" |
45 #include "savedstatuses.h" | 45 #include "savedstatuses.h" |
46 #include "signals.h" | 46 #include "signals.h" |
47 #include "smiley.h" | 47 #include "smiley.h" |
48 #include "sound.h" | 48 #include "sound.h" |
49 #include "sound-theme-loader.h" | |
49 #include "sslconn.h" | 50 #include "sslconn.h" |
50 #include "status.h" | 51 #include "status.h" |
51 #include "stun.h" | 52 #include "stun.h" |
52 #include "util.h" | 53 #include "util.h" |
54 #include "theme-manager.h" | |
53 | 55 |
54 #ifdef HAVE_DBUS | 56 #ifdef HAVE_DBUS |
55 # ifndef DBUS_API_SUBJECT_TO_CHANGE | 57 # ifndef DBUS_API_SUBJECT_TO_CHANGE |
56 # define DBUS_API_SUBJECT_TO_CHANGE | 58 # define DBUS_API_SUBJECT_TO_CHANGE |
57 # endif | 59 # endif |
141 /* Initialize all static protocols. */ | 143 /* Initialize all static protocols. */ |
142 static_proto_init(); | 144 static_proto_init(); |
143 | 145 |
144 purple_plugins_probe(G_MODULE_SUFFIX); | 146 purple_plugins_probe(G_MODULE_SUFFIX); |
145 | 147 |
148 purple_theme_manager_init(); | |
146 /* The buddy icon code uses the imgstore, so init it early. */ | 149 /* The buddy icon code uses the imgstore, so init it early. */ |
147 purple_imgstore_init(); | 150 purple_imgstore_init(); |
148 | 151 |
149 /* Accounts use status, buddy icons and connection signals, so | 152 /* Accounts use status, buddy icons and connection signals, so |
150 * initialize these before accounts | 153 * initialize these before accounts |
169 purple_ssl_init(); | 172 purple_ssl_init(); |
170 purple_stun_init(); | 173 purple_stun_init(); |
171 purple_xfers_init(); | 174 purple_xfers_init(); |
172 purple_idle_init(); | 175 purple_idle_init(); |
173 purple_smileys_init(); | 176 purple_smileys_init(); |
174 | 177 purple_theme_manager_init(); |
178 purple_theme_manager_refresh(); | |
175 /* | 179 /* |
176 * Call this early on to try to auto-detect our IP address and | 180 * Call this early on to try to auto-detect our IP address and |
177 * hopefully save some time later. | 181 * hopefully save some time later. |
178 */ | 182 */ |
179 purple_network_get_my_ip(-1); | 183 purple_network_get_my_ip(-1); |
213 purple_accounts_uninit(); | 217 purple_accounts_uninit(); |
214 purple_savedstatuses_uninit(); | 218 purple_savedstatuses_uninit(); |
215 purple_status_uninit(); | 219 purple_status_uninit(); |
216 purple_prefs_uninit(); | 220 purple_prefs_uninit(); |
217 purple_sound_uninit(); | 221 purple_sound_uninit(); |
222 purple_theme_manager_uninit(); | |
218 purple_xfers_uninit(); | 223 purple_xfers_uninit(); |
219 purple_proxy_uninit(); | 224 purple_proxy_uninit(); |
220 purple_dnsquery_uninit(); | 225 purple_dnsquery_uninit(); |
221 purple_imgstore_uninit(); | 226 purple_imgstore_uninit(); |
222 | 227 |