Mercurial > pidgin
comparison finch/gntui.c @ 19179:c8f9584e3221
merge of '67bc02a2c7f212cbe500066a42a3a477fdd25289'
and 'd9bffe4df171c9490c29837f81ff350c6da64c7f'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 11 Aug 2007 11:19:07 +0000 |
parents | 907c41608ada |
children | e1751162ab1f 315151da0dc6 |
comparison
equal
deleted
inserted
replaced
18877:8988a205112b | 19179:c8f9584e3221 |
---|---|
33 #include "gntplugin.h" | 33 #include "gntplugin.h" |
34 #include "gntpounce.h" | 34 #include "gntpounce.h" |
35 #include "gntprefs.h" | 35 #include "gntprefs.h" |
36 #include "gntrequest.h" | 36 #include "gntrequest.h" |
37 #include "gntstatus.h" | 37 #include "gntstatus.h" |
38 #include "gntsound.h" | |
38 | 39 |
39 #include <prefs.h> | 40 #include <prefs.h> |
40 | 41 |
41 void gnt_ui_init() | 42 void gnt_ui_init() |
42 { | 43 { |
56 | 57 |
57 /* Initialize the buddy list */ | 58 /* Initialize the buddy list */ |
58 finch_blist_init(); | 59 finch_blist_init(); |
59 purple_blist_set_ui_ops(finch_blist_get_ui_ops()); | 60 purple_blist_set_ui_ops(finch_blist_get_ui_ops()); |
60 | 61 |
62 /* Initialize sound */ | |
63 purple_sound_set_ui_ops(finch_sound_get_ui_ops()); | |
64 | |
61 /* Now the conversations */ | 65 /* Now the conversations */ |
62 finch_conversation_init(); | 66 finch_conversation_init(); |
63 purple_conversations_set_ui_ops(finch_conv_get_ui_ops()); | 67 purple_conversations_set_ui_ops(finch_conv_get_ui_ops()); |
64 | 68 |
65 /* Notify */ | 69 /* Notify */ |
78 gnt_register_action(_("Buddy List"), finch_blist_show); | 82 gnt_register_action(_("Buddy List"), finch_blist_show); |
79 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show); | 83 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show); |
80 gnt_register_action(_("Debug Window"), finch_debug_window_show); | 84 gnt_register_action(_("Debug Window"), finch_debug_window_show); |
81 gnt_register_action(_("File Transfers"), finch_xfer_dialog_show); | 85 gnt_register_action(_("File Transfers"), finch_xfer_dialog_show); |
82 gnt_register_action(_("Plugins"), finch_plugins_show_all); | 86 gnt_register_action(_("Plugins"), finch_plugins_show_all); |
87 gnt_register_action(_("Sounds"), finch_sounds_show_all); | |
83 gnt_register_action(_("Preferences"), finch_prefs_show_all); | 88 gnt_register_action(_("Preferences"), finch_prefs_show_all); |
84 gnt_register_action(_("Statuses"), finch_savedstatus_show_all); | 89 gnt_register_action(_("Statuses"), finch_savedstatus_show_all); |
85 | 90 |
86 #ifdef STANDALONE | 91 #ifdef STANDALONE |
87 | 92 |