comparison finch/gntui.c @ 15823:32c366eeeb99

sed -ie 's/gaim/purple/g'
author Sean Egan <seanegan@gmail.com>
date Mon, 19 Mar 2007 07:01:17 +0000
parents 0e3a8505ebbe
children 66dff3dfdea6
comparison
equal deleted inserted replaced
15822:84b0f9b23ede 15823:32c366eeeb99
1 /** 1 /**
2 * gaim 2 * purple
3 * 3 *
4 * Gaim is the legal property of its developers, whose names are too numerous 4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this 5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution. 6 * source distribution.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
41 { 41 {
42 #ifdef STANDALONE 42 #ifdef STANDALONE
43 gnt_init(); 43 gnt_init();
44 #endif 44 #endif
45 45
46 gaim_prefs_add_none("/gaim/gnt"); 46 purple_prefs_add_none("/purple/gnt");
47 47
48 /* Accounts */ 48 /* Accounts */
49 finch_accounts_init(); 49 finch_accounts_init();
50 gaim_accounts_set_ui_ops(finch_accounts_get_ui_ops()); 50 purple_accounts_set_ui_ops(finch_accounts_get_ui_ops());
51 51
52 /* Connections */ 52 /* Connections */
53 finch_connections_init(); 53 finch_connections_init();
54 gaim_connections_set_ui_ops(finch_connections_get_ui_ops()); 54 purple_connections_set_ui_ops(finch_connections_get_ui_ops());
55 55
56 /* Initialize the buddy list */ 56 /* Initialize the buddy list */
57 finch_blist_init(); 57 finch_blist_init();
58 gaim_blist_set_ui_ops(finch_blist_get_ui_ops()); 58 purple_blist_set_ui_ops(finch_blist_get_ui_ops());
59 59
60 /* Now the conversations */ 60 /* Now the conversations */
61 finch_conversation_init(); 61 finch_conversation_init();
62 gaim_conversations_set_ui_ops(finch_conv_get_ui_ops()); 62 purple_conversations_set_ui_ops(finch_conv_get_ui_ops());
63 63
64 /* Notify */ 64 /* Notify */
65 finch_notify_init(); 65 finch_notify_init();
66 gaim_notify_set_ui_ops(finch_notify_get_ui_ops()); 66 purple_notify_set_ui_ops(finch_notify_get_ui_ops());
67 67
68 finch_request_init(); 68 finch_request_init();
69 gaim_request_set_ui_ops(finch_request_get_ui_ops()); 69 purple_request_set_ui_ops(finch_request_get_ui_ops());
70 70
71 finch_pounces_init(); 71 finch_pounces_init();
72 72
73 finch_xfers_init(); 73 finch_xfers_init();
74 gaim_xfers_set_ui_ops(finch_xfers_get_ui_ops()); 74 purple_xfers_set_ui_ops(finch_xfers_get_ui_ops());
75 75
76 gnt_register_action(_("Accounts"), finch_accounts_show_all); 76 gnt_register_action(_("Accounts"), finch_accounts_show_all);
77 gnt_register_action(_("Buddy List"), finch_blist_show); 77 gnt_register_action(_("Buddy List"), finch_blist_show);
78 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show); 78 gnt_register_action(_("Buddy Pounces"), finch_pounces_manager_show);
79 gnt_register_action(_("Debug Window"), finch_debug_window_show); 79 gnt_register_action(_("Debug Window"), finch_debug_window_show);
87 finch_plugins_save_loaded(); 87 finch_plugins_save_loaded();
88 } 88 }
89 89
90 void gnt_ui_uninit() 90 void gnt_ui_uninit()
91 { 91 {
92 gaim_accounts_set_ui_ops(NULL); 92 purple_accounts_set_ui_ops(NULL);
93 finch_accounts_uninit(); 93 finch_accounts_uninit();
94 94
95 gaim_connections_set_ui_ops(NULL); 95 purple_connections_set_ui_ops(NULL);
96 finch_connections_uninit(); 96 finch_connections_uninit();
97 97
98 gaim_blist_set_ui_ops(NULL); 98 purple_blist_set_ui_ops(NULL);
99 finch_blist_uninit(); 99 finch_blist_uninit();
100 100
101 gaim_conversations_set_ui_ops(NULL); 101 purple_conversations_set_ui_ops(NULL);
102 finch_conversation_uninit(); 102 finch_conversation_uninit();
103 103
104 gaim_notify_set_ui_ops(NULL); 104 purple_notify_set_ui_ops(NULL);
105 finch_notify_uninit(); 105 finch_notify_uninit();
106 106
107 gaim_request_set_ui_ops(NULL); 107 purple_request_set_ui_ops(NULL);
108 finch_request_uninit(); 108 finch_request_uninit();
109 109
110 finch_pounces_uninit(); 110 finch_pounces_uninit();
111 111
112 finch_xfers_uninit(); 112 finch_xfers_uninit();
113 gaim_xfers_set_ui_ops(NULL); 113 purple_xfers_set_ui_ops(NULL);
114 114
115 gnt_quit(); 115 gnt_quit();
116 #endif 116 #endif
117 } 117 }
118 118