comparison finch/gntui.c @ 22006:1278280fa0b6

Implementation of the roomlist API.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 06 Jan 2008 19:01:24 +0000
parents 44b4e8bd759b
children 57cac5dfda2a
comparison
equal deleted inserted replaced
22005:829d054f4f1a 22006:1278280fa0b6
33 #include "gntnotify.h" 33 #include "gntnotify.h"
34 #include "gntplugin.h" 34 #include "gntplugin.h"
35 #include "gntpounce.h" 35 #include "gntpounce.h"
36 #include "gntprefs.h" 36 #include "gntprefs.h"
37 #include "gntrequest.h" 37 #include "gntrequest.h"
38 #include "gntroomlist.h"
38 #include "gntstatus.h" 39 #include "gntstatus.h"
39 #include "gntsound.h" 40 #include "gntsound.h"
40 41
41 #include <prefs.h> 42 #include <prefs.h>
42 43
69 70
70 /* Notify */ 71 /* Notify */
71 finch_notify_init(); 72 finch_notify_init();
72 purple_notify_set_ui_ops(finch_notify_get_ui_ops()); 73 purple_notify_set_ui_ops(finch_notify_get_ui_ops());
73 74
75 /* Request */
74 finch_request_init(); 76 finch_request_init();
75 purple_request_set_ui_ops(finch_request_get_ui_ops()); 77 purple_request_set_ui_ops(finch_request_get_ui_ops());
76 78
79 /* Pounce */
77 finch_pounces_init(); 80 finch_pounces_init();
78 81
82 /* File transfer */
79 finch_xfers_init(); 83 finch_xfers_init();
80 purple_xfers_set_ui_ops(finch_xfers_get_ui_ops()); 84 purple_xfers_set_ui_ops(finch_xfers_get_ui_ops());
85
86 /* Roomlist */
87 purple_roomlist_set_ui_ops(finch_roomlist_get_ui_ops());
81 88
82 gnt_register_action(_("Accounts"), finch_accounts_show_all); 89 gnt_register_action(_("Accounts"), finch_accounts_show_all);
83 gnt_register_action(_("Buddy List"), finch_blist_show); 90 gnt_register_action(_("Buddy List"), finch_blist_show);
84 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show); 91 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show);
85 gnt_register_action(_("Certificates"), finch_certmgr_show); 92 gnt_register_action(_("Certificates"), finch_certmgr_show);
86 gnt_register_action(_("Debug Window"), finch_debug_window_show); 93 gnt_register_action(_("Debug Window"), finch_debug_window_show);
87 gnt_register_action(_("File Transfers"), finch_xfer_dialog_show); 94 gnt_register_action(_("File Transfers"), finch_xfer_dialog_show);
88 gnt_register_action(_("Plugins"), finch_plugins_show_all); 95 gnt_register_action(_("Plugins"), finch_plugins_show_all);
96 gnt_register_action(_("Room List"), finch_roomlist_show_all);
89 gnt_register_action(_("Sounds"), finch_sounds_show_all); 97 gnt_register_action(_("Sounds"), finch_sounds_show_all);
90 gnt_register_action(_("Preferences"), finch_prefs_show_all); 98 gnt_register_action(_("Preferences"), finch_prefs_show_all);
91 gnt_register_action(_("Statuses"), finch_savedstatus_show_all); 99 gnt_register_action(_("Statuses"), finch_savedstatus_show_all);
92 100
93 #ifdef STANDALONE 101 #ifdef STANDALONE