| 45 #include <prefs.h> |
45 #include <prefs.h> |
| 46 |
46 |
| 47 void finch_ui_init() |
47 void finch_ui_init() |
| 48 { |
48 { |
| 49 #ifdef STANDALONE |
49 #ifdef STANDALONE |
| |
50 #ifdef _WIN32 /* TODO: don't change it when using FHS under win32 */ |
| |
51 gnt_set_config_dir(purple_user_dir()); |
| |
52 #endif /* _WIN32 */ |
| |
53 |
| 50 gnt_init(); |
54 gnt_init(); |
| 51 #endif |
55 #endif /* STANDALONE */ |
| 52 |
56 |
| 53 purple_prefs_add_none("/purple/gnt"); |
57 purple_prefs_add_none("/purple/gnt"); |
| 54 |
58 |
| 55 /* Accounts */ |
59 /* Accounts */ |
| 56 finch_accounts_init(); |
60 finch_accounts_init(); |