Mercurial > pidgin
annotate src/ui.h @ 5805:5a21abbb0197
[gaim-migrate @ 6235]
Wang (fundawang) updated the Simplified Chinese translation again
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 08 Jun 2003 03:25:09 +0000 |
parents | 758fa27534b3 |
children | 059d95c67cda |
rev | line source |
---|---|
5034
4691c5936c01
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
5032
diff
changeset
|
1 /** |
4691c5936c01
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
5032
diff
changeset
|
2 * @file ui.h Main GTK+ UI include file |
4691c5936c01
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
5032
diff
changeset
|
3 * @defgroup gtkui GTK+ User Interface |
4691c5936c01
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
5032
diff
changeset
|
4 * |
2417 | 5 * gaim |
6 * | |
7 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> | |
8 * | |
9 * This program is free software; you can redistribute it and/or modify | |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
23 | |
24 #ifndef _UI_H_ | |
25 #define _UI_H_ | |
26 | |
27 #ifdef HAVE_CONFIG_H | |
28 #include <config.h> | |
29 #endif | |
30 | |
31 #include <gtk/gtk.h> | |
32 #include <gdk-pixbuf/gdk-pixbuf.h> | |
33 | |
4608 | 34 #include "core.h" |
4359
5fb47ec9bfe4
[gaim-migrate @ 4625]
Christian Hammond <chipx86@chipx86.com>
parents:
4349
diff
changeset
|
35 #include "gtkconv.h" |
4687 | 36 #include "pounce.h" |
4514
7521e29658bc
[gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
4491
diff
changeset
|
37 #include "gtkft.h" |
5530
2c4c975620f0
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5440
diff
changeset
|
38 #include "gtkprefs.h" |
4359
5fb47ec9bfe4
[gaim-migrate @ 4625]
Christian Hammond <chipx86@chipx86.com>
parents:
4349
diff
changeset
|
39 #include "gtkutils.h" |
5fb47ec9bfe4
[gaim-migrate @ 4625]
Christian Hammond <chipx86@chipx86.com>
parents:
4349
diff
changeset
|
40 #include "stock.h" |
5fb47ec9bfe4
[gaim-migrate @ 4625]
Christian Hammond <chipx86@chipx86.com>
parents:
4349
diff
changeset
|
41 |
5779
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
42 |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
43 /** |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
44 * Our UI's identifier. |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
45 */ |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
46 #define GAIM_GTK_UI "gtk-gaim" |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
47 |
758fa27534b3
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5773
diff
changeset
|
48 |
2725
f3c094e78609
[gaim-migrate @ 2738]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2699
diff
changeset
|
49 #define GAIM_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \ |
f3c094e78609
[gaim-migrate @ 2738]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2699
diff
changeset
|
50 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG) |
3554 | 51 #define GAIM_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED) |
3517 | 52 |
5105 | 53 /* This is backwards-compatibility code for old versions of GTK+ (2.2.1 and |
54 * earlier). It defines the new wrap behavior (unknown in earlier versions) | |
55 * as the old (slightly buggy) wrap behavior. | |
56 */ | |
57 #ifndef GTK_WRAP_WORD_CHAR | |
58 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD | |
59 #endif | |
60 | |
3473 | 61 #define DEFAULT_FONT_FACE "Helvetica" |
2761
367d19133917
[gaim-migrate @ 2774]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2725
diff
changeset
|
62 |
2417 | 63 #define FACE_ANGEL 0 |
64 #define FACE_BIGSMILE 1 | |
65 #define FACE_BURP 2 | |
66 #define FACE_CROSSEDLIPS 3 | |
67 #define FACE_CRY 4 | |
68 #define FACE_EMBARRASSED 5 | |
69 #define FACE_KISS 6 | |
70 #define FACE_MONEYMOUTH 7 | |
71 #define FACE_SAD 8 | |
72 #define FACE_SCREAM 9 | |
73 #define FACE_SMILE 10 | |
74 #define FACE_SMILE8 11 | |
75 #define FACE_THINK 12 | |
76 #define FACE_TONGUE 13 | |
77 #define FACE_WINK 14 | |
78 #define FACE_YELL 15 | |
79 #define FACE_TOTAL 16 | |
80 | |
3427 | 81 #define GAIM_LOGO 0 |
82 #define GAIM_ERROR 1 | |
83 #define GAIM_WARNING 2 | |
84 #define GAIM_INFO 3 | |
3376 | 85 |
5545
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
86 typedef enum |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
87 { |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
88 GAIM_BUTTON_HORIZONTAL, |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
89 GAIM_BUTTON_VERTICAL |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
90 |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
91 } GaimButtonOrientation; |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
92 |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
93 typedef enum |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
94 { |
5546
22cf337e8b8f
[gaim-migrate @ 5947]
Christian Hammond <chipx86@chipx86.com>
parents:
5545
diff
changeset
|
95 GAIM_BUTTON_NONE = 0, |
5545
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
96 GAIM_BUTTON_TEXT, |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
97 GAIM_BUTTON_IMAGE, |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
98 GAIM_BUTTON_TEXT_IMAGE |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
99 |
3649 | 100 } GaimButtonStyle; |
101 | |
2438
5cbe86a444d9
[gaim-migrate @ 2451]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2437
diff
changeset
|
102 /* XXX CUI: save_pos and window_size are used by gaimrc.c which is core. |
2417 | 103 * Need to figure out options saving. Same goes for several global variables as well. */ |
104 struct save_pos { | |
105 int x; | |
106 int y; | |
107 int width; | |
108 int height; | |
109 }; | |
110 | |
111 struct window_size { | |
112 int width; | |
113 int height; | |
114 int entry_height; | |
115 }; | |
116 | |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
117 struct log_conversation { |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
118 char name[80]; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
119 char filename[512]; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
120 struct log_conversation *next; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
121 }; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
122 |
2438
5cbe86a444d9
[gaim-migrate @ 2451]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2437
diff
changeset
|
123 /* XXX CUI: away messages aren't really anything more than char* but we need two char*'s |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
124 * for the UI so that people can name their away messages when they save them. So these |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
125 * are really a UI function and struct away_message should be removed from the core. */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
126 struct away_message { |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
127 char name[80]; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
128 char message[2048]; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
129 }; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
130 |
2986 | 131 |
132 | |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
133 /* this is used for queuing messages received while away. This is really a UI function |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
134 * which is why the struct is here. */ |
4608 | 135 |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
136 struct queued_message { |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
137 char name[80]; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
138 char *message; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
139 time_t tm; |
5563
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
140 GaimAccount *account; |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
141 int flags; |
2856
b1e300a85678
[gaim-migrate @ 2869]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2843
diff
changeset
|
142 int len; |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
143 }; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
144 |
4288 | 145 struct smiley_theme { |
146 char *path; | |
147 char *name; | |
148 char *desc; | |
149 char *icon; | |
150 char *author; | |
151 | |
152 struct smiley_list *list; | |
153 }; | |
154 | |
155 | |
2417 | 156 #define EDIT_GC 0 |
157 #define EDIT_GROUP 1 | |
158 #define EDIT_BUDDY 2 | |
159 | |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
160 /* Globals in aim.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
161 extern GList *log_conversations; /* this should be moved to conversations.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
162 extern GSList *away_messages; /* this should be moved to away.c */ |
2493
1b7a1133962d
[gaim-migrate @ 2506]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2442
diff
changeset
|
163 extern GtkWidget *mainwindow; |
4687 | 164 extern int docklet_count; |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
165 |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
166 /* Globals in away.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
167 extern struct away_message *awaymessage; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
168 extern struct away_message *default_away; |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
169 extern GtkWidget *awaymenu; |
4412 | 170 extern GtkWidget *awayqueue; |
171 extern GtkListStore *awayqueuestore; | |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
172 |
2417 | 173 /* Globals in dialog.c */ |
2763
477a035d81e5
[gaim-migrate @ 2776]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2761
diff
changeset
|
174 extern char fontxfld[256]; |
2417 | 175 extern int smiley_array[FACE_TOTAL]; |
3367 | 176 extern GtkWidget *fgcseld; |
177 extern GtkWidget *bgcseld; | |
5530
2c4c975620f0
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5440
diff
changeset
|
178 void build_allow_list(); |
2c4c975620f0
[gaim-migrate @ 5930]
Christian Hammond <chipx86@chipx86.com>
parents:
5440
diff
changeset
|
179 void build_block_list(); |
2417 | 180 |
181 /* Globals in prpl.c */ | |
182 extern GtkWidget *protomenu; | |
183 | |
4157 | 184 /* Globals in session.c */ |
185 extern gboolean session_managed; | |
186 | |
4288 | 187 /* Globals in themes.c */ |
188 extern struct smiley_theme *current_smiley_theme; | |
189 extern GSList *smiley_themes; | |
190 | |
191 | |
2417 | 192 /* Functions in about.c */ |
193 extern void show_about(GtkWidget *, void *); | |
194 extern void gaim_help(GtkWidget *, void *); | |
195 | |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
196 /* Functions in aim.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
197 extern void show_login(); |
5563
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
198 extern void gaim_setup(GaimConnection *gc); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
199 |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
200 /* Functions in away.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
201 extern void rem_away_mess(GtkWidget *, struct away_message *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
202 extern void do_away_message(GtkWidget *, struct away_message *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
203 extern void do_away_menu(); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
204 extern void away_list_unclicked(GtkWidget *, struct away_message *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
205 extern void away_list_clicked(GtkWidget *, struct away_message *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
206 extern void toggle_away_queue(); |
4274 | 207 extern void purge_away_queue(GSList**); |
5773
8107b9ee8789
[gaim-migrate @ 6198]
Christian Hammond <chipx86@chipx86.com>
parents:
5772
diff
changeset
|
208 extern void do_im_back(GtkWidget *w, GtkWidget *x); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
209 |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
210 /* Functions in browser.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
211 extern void open_url(GtkWidget *, char *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
212 extern void add_bookmark(GtkWidget *, char *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
213 |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
214 /* Functions in dialogs.c */ |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
215 extern void alias_dialog_bud(struct buddy *); |
5234 | 216 extern void alias_dialog_chat(struct chat *); |
5563
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
217 extern void show_warn_dialog(GaimConnection *, char *); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
218 extern void show_im_dialog(); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
219 extern void show_info_dialog(); |
5563
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
220 extern void show_add_buddy(GaimConnection *, char *, char *, char *); |
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
221 extern void show_add_chat(GaimAccount *, struct group *); |
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
222 extern void show_add_group(GaimConnection *); |
9eb5b13fd412
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5560
diff
changeset
|
223 extern void show_add_perm(GaimConnection *, char *, gboolean); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
224 extern void destroy_all_dialogs(); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
225 extern void show_import_dialog(); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
226 extern void show_export_dialog(); |
3484 | 227 extern void conv_show_log(GtkWidget *, gpointer); |
3532 | 228 extern void chat_show_log(GtkWidget *, gpointer); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
229 extern void show_log(char *); |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
230 extern void show_log_dialog(GaimConversation *); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
231 extern void show_fgcolor_dialog(GaimConversation *c, GtkWidget *color); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
232 extern void show_bgcolor_dialog(GaimConversation *c, GtkWidget *color); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
233 extern void cancel_fgcolor(GtkWidget *widget, GaimConversation *c); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
234 extern void cancel_bgcolor(GtkWidget *widget, GaimConversation *c); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
235 extern void create_away_mess(GtkWidget *, void *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
236 extern void show_ee_dialog(int); |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
237 extern void show_insert_link(GtkWidget *,GaimConversation *); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
238 extern void show_smiley_dialog(GaimConversation *, GtkWidget *); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
239 extern void close_smiley_dialog(GtkWidget *widget, GaimConversation *c); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
240 extern void set_smiley_array(GtkWidget *widget, int smiley_type); |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
241 extern void insert_smiley_text(GtkWidget *widget, GaimConversation *c); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
242 extern void cancel_log(GtkWidget *, GaimConversation *); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
243 extern void cancel_link(GtkWidget *, GaimConversation *); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
244 extern void show_font_dialog(GaimConversation *c, GtkWidget *font); |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5633
diff
changeset
|
245 extern void cancel_font(GtkWidget *widget, GaimConversation *c); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
246 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
247 extern void show_rename_group(GtkWidget *, struct group *); |
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
248 extern void show_rename_buddy(GtkWidget *, struct buddy *); |
5545
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
249 extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonOrientation); |
7a64114641c3
[gaim-migrate @ 5946]
Christian Hammond <chipx86@chipx86.com>
parents:
5530
diff
changeset
|
250 extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonOrientation); |
3668 | 251 extern GtkWidget *gaim_pixbuf_toolbar_button_from_stock(char *); |
2440
8306c042bac7
[gaim-migrate @ 2453]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2438
diff
changeset
|
252 extern int file_is_dir(const char *, GtkWidget *); |
3367 | 253 extern void update_privacy_connections(); |
254 extern void show_privacy_options(); | |
255 extern void build_allow_list(); | |
256 extern void build_block_list(); | |
3379 | 257 extern void destroy_fontsel(GtkWidget *w, gpointer d); |
4359
5fb47ec9bfe4
[gaim-migrate @ 4625]
Christian Hammond <chipx86@chipx86.com>
parents:
4349
diff
changeset
|
258 extern void join_chat(); |
2435
b4f2a53c0ee5
[gaim-migrate @ 2448]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
259 |
2827
51999a36c0b1
[gaim-migrate @ 2840]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2810
diff
changeset
|
260 /* Functions in prpl.c */ |
51999a36c0b1
[gaim-migrate @ 2840]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2810
diff
changeset
|
261 extern void register_dialog(); |
51999a36c0b1
[gaim-migrate @ 2840]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2810
diff
changeset
|
262 |
2906
538c58b43eff
[gaim-migrate @ 2919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2883
diff
changeset
|
263 /* Functions in server.c */ |
538c58b43eff
[gaim-migrate @ 2919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2883
diff
changeset
|
264 /* server.c is in desperate need need of a split */ |
538c58b43eff
[gaim-migrate @ 2919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2883
diff
changeset
|
265 extern int find_queue_total_by_name(char *); |
538c58b43eff
[gaim-migrate @ 2919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2883
diff
changeset
|
266 |
4157 | 267 /* Functions in session.c */ |
268 extern void session_init(gchar *, gchar *); | |
269 extern void session_end(); | |
270 | |
4263 | 271 /* Functions in themes.c */ |
272 extern void smiley_themeize(GtkWidget *); | |
4298 | 273 extern void smiley_theme_probe(); |
4892 | 274 extern void load_smiley_theme(const char *file, gboolean load); |
4667 | 275 extern GSList *get_proto_smileys(int protocol); |
4263 | 276 |
2417 | 277 #endif /* _UI_H_ */ |