| 14071:fa1c877e2520 | 14072:4e64a4f18686 |
|---|---|
| 3 #include "gntaccount.h" | 3 #include "gntaccount.h" |
| 4 #include "gntblist.h" | 4 #include "gntblist.h" |
| 5 #include "gntconn.h" | 5 #include "gntconn.h" |
| 6 #include "gntconv.h" | 6 #include "gntconv.h" |
| 7 #include "gntnotify.h" | 7 #include "gntnotify.h" |
| 8 #include "gntplugin.h" | |
| 8 #include "gntrequest.h" | 9 #include "gntrequest.h" |
| 10 | |
| 11 #include <prefs.h> | |
| 9 | 12 |
| 10 void init_gnt_ui() | 13 void init_gnt_ui() |
| 11 { | 14 { |
| 12 #ifdef STANDALONE | 15 #ifdef STANDALONE |
| 13 gnt_init(); | 16 gnt_init(); |
| 14 #endif | 17 #endif |
| 18 | |
| 19 gaim_prefs_add_none("/gaim/gnt"); | |
| 20 | |
| 15 /* Accounts */ | 21 /* Accounts */ |
| 16 gg_accounts_init(); | 22 gg_accounts_init(); |
| 17 gaim_accounts_set_ui_ops(gg_accounts_get_ui_ops()); | 23 gaim_accounts_set_ui_ops(gg_accounts_get_ui_ops()); |
| 18 | 24 |
| 19 /* Connections */ | 25 /* Connections */ |
| 33 gaim_notify_set_ui_ops(gg_notify_get_ui_ops()); | 39 gaim_notify_set_ui_ops(gg_notify_get_ui_ops()); |
| 34 | 40 |
| 35 gg_request_init(); | 41 gg_request_init(); |
| 36 gaim_request_set_ui_ops(gg_request_get_ui_ops()); | 42 gaim_request_set_ui_ops(gg_request_get_ui_ops()); |
| 37 | 43 |
| 44 gg_plugins_show_all(); | |
| 45 | |
| 38 #ifdef STANDALONE | 46 #ifdef STANDALONE |
| 47 | |
| 48 gg_plugins_save_loaded(); | |
| 49 | |
| 39 gnt_main(); | 50 gnt_main(); |
| 40 | 51 |
| 41 gaim_accounts_set_ui_ops(NULL); | 52 gaim_accounts_set_ui_ops(NULL); |
| 42 gg_accounts_uninit(); | 53 gg_accounts_uninit(); |
| 43 | 54 |