Mercurial > pidgin
comparison console/gntui.c @ 14010:7573bd40a190
[gaim-migrate @ 16602]
Allow plugins to be loaded and unloaded.
Remember the window positions and sizes.
All turning on/off shadow from ~/.gntrc (off by default).
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 31 Jul 2006 23:19:12 +0000 |
parents | b7a99d54a5a9 |
children | 8375ecb6152b |
comparison
equal
deleted
inserted
replaced
14009:1e283c3566ab | 14010:7573bd40a190 |
---|---|
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 |