comparison finch/gntui.c @ 25718:4bc74deeb503

propagate from branch 'im.pidgin.pidgin' (head 434563a4b8fadb9593c241db4bb5ffd0bf2c0627) to branch 'im.pidgin.soc.2008.vv' (head 59d05cb38af9346d82ce57477273f7b381054bcc)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 09 Aug 2008 02:24:38 +0000
parents cbe97caec684
children 1c73d2ef9ddc
comparison
equal deleted inserted replaced
23742:de8f2d3e538a 25718:4bc74deeb503
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */ 21 */
22 #include <prefs.h>
22 #include "finch.h" 23 #include "finch.h"
23 24
24 #include "gntui.h"
25 25
26 #include "gntaccount.h" 26 #include "gntaccount.h"
27 #include "gntblist.h" 27 #include "gntblist.h"
28 #include "gntcertmgr.h" 28 #include "gntcertmgr.h"
29 #include "gntconn.h" 29 #include "gntconn.h"
30 #include "gntconv.h" 30 #include "gntconv.h"
31 #include "gntdebug.h" 31 #include "gntdebug.h"
32 #include "gntft.h" 32 #include "gntft.h"
33 #include "gntlog.h" 33 #include "gntlog.h"
34 #include "gntmedia.h"
34 #include "gntnotify.h" 35 #include "gntnotify.h"
35 #include "gntplugin.h" 36 #include "gntplugin.h"
36 #include "gntpounce.h" 37 #include "gntpounce.h"
37 #include "gntprefs.h" 38 #include "gntprefs.h"
38 #include "gntrequest.h" 39 #include "gntrequest.h"
39 #include "gntroomlist.h" 40 #include "gntroomlist.h"
40 #include "gntstatus.h" 41 #include "gntstatus.h"
41 #include "gntsound.h" 42 #include "gntsound.h"
42 43
43 #include <prefs.h> 44 #include "gntui.h"
44 45
45 void gnt_ui_init() 46 void gnt_ui_init()
46 { 47 {
47 #ifdef STANDALONE 48 #ifdef STANDALONE
48 gnt_init(); 49 gnt_init();
89 90
90 /* Roomlist */ 91 /* Roomlist */
91 finch_roomlist_init(); 92 finch_roomlist_init();
92 purple_roomlist_set_ui_ops(finch_roomlist_get_ui_ops()); 93 purple_roomlist_set_ui_ops(finch_roomlist_get_ui_ops());
93 94
95 #ifdef USE_VV
96 /* Media */
97 finch_media_manager_init();
98 #endif
99
94 gnt_register_action(_("Accounts"), finch_accounts_show_all); 100 gnt_register_action(_("Accounts"), finch_accounts_show_all);
95 gnt_register_action(_("Buddy List"), finch_blist_show); 101 gnt_register_action(_("Buddy List"), finch_blist_show);
96 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show); 102 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show);
97 gnt_register_action(_("Certificates"), finch_certmgr_show); 103 gnt_register_action(_("Certificates"), finch_certmgr_show);
98 gnt_register_action(_("Debug Window"), finch_debug_window_show); 104 gnt_register_action(_("Debug Window"), finch_debug_window_show);
134 purple_xfers_set_ui_ops(NULL); 140 purple_xfers_set_ui_ops(NULL);
135 141
136 finch_roomlist_uninit(); 142 finch_roomlist_uninit();
137 purple_roomlist_set_ui_ops(NULL); 143 purple_roomlist_set_ui_ops(NULL);
138 144
145 #ifdef USE_VV
146 finch_media_manager_uninit();
147 #endif
148
139 gnt_quit(); 149 gnt_quit();
140 #endif 150 #endif
141 } 151 }
142 152