comparison finch/gntrequest.c @ 21099:51cf02dbdb0e

disapproval of revision 'c484d979c4fda4433a9633ff8b69bd8a395c9479'
author Richard Laager <rlaager@wiktel.com>
date Fri, 16 Nov 2007 23:30:03 +0000
parents cab348e39751
children ae08b1e3ef63
comparison
equal deleted inserted replaced
21095:cab348e39751 21099:51cf02dbdb0e
146 const char *secondary, const char *default_value, 146 const char *secondary, const char *default_value,
147 gboolean multiline, gboolean masked, gchar *hint, 147 gboolean multiline, gboolean masked, gchar *hint,
148 const char *ok_text, GCallback ok_cb, 148 const char *ok_text, GCallback ok_cb,
149 const char *cancel_text, GCallback cancel_cb, 149 const char *cancel_text, GCallback cancel_cb,
150 PurpleAccount *account, const char *who, PurpleConversation *conv, 150 PurpleAccount *account, const char *who, PurpleConversation *conv,
151 const char *ui_hint, void *user_data) 151 void *user_data)
152 { 152 {
153 GntWidget *window, *box, *entry; 153 GntWidget *window, *box, *entry;
154 154
155 window = setup_request_window(title, primary, secondary, PURPLE_REQUEST_INPUT); 155 window = setup_request_window(title, primary, secondary, PURPLE_REQUEST_INPUT);
156 156
203 finch_request_choice(const char *title, const char *primary, 203 finch_request_choice(const char *title, const char *primary,
204 const char *secondary, int default_value, 204 const char *secondary, int default_value,
205 const char *ok_text, GCallback ok_cb, 205 const char *ok_text, GCallback ok_cb,
206 const char *cancel_text, GCallback cancel_cb, 206 const char *cancel_text, GCallback cancel_cb,
207 PurpleAccount *account, const char *who, PurpleConversation *conv, 207 PurpleAccount *account, const char *who, PurpleConversation *conv,
208 const char *ui_hint, void *user_data, va_list choices) 208 void *user_data, va_list choices)
209 { 209 {
210 GntWidget *window, *combo, *box; 210 GntWidget *window, *combo, *box;
211 const char *text; 211 const char *text;
212 int val; 212 int val;
213 213
247 247
248 static void* 248 static void*
249 finch_request_action(const char *title, const char *primary, 249 finch_request_action(const char *title, const char *primary,
250 const char *secondary, int default_value, 250 const char *secondary, int default_value,
251 PurpleAccount *account, const char *who, PurpleConversation *conv, 251 PurpleAccount *account, const char *who, PurpleConversation *conv,
252 const char *ui_hint, void *user_data, size_t actioncount, 252 void *user_data, size_t actioncount,
253 va_list actions) 253 va_list actions)
254 { 254 {
255 GntWidget *window, *box, *button; 255 GntWidget *window, *box, *button;
256 int i; 256 int i;
257 257
391 finch_request_fields(const char *title, const char *primary, 391 finch_request_fields(const char *title, const char *primary,
392 const char *secondary, PurpleRequestFields *allfields, 392 const char *secondary, PurpleRequestFields *allfields,
393 const char *ok, GCallback ok_cb, 393 const char *ok, GCallback ok_cb,
394 const char *cancel, GCallback cancel_cb, 394 const char *cancel, GCallback cancel_cb,
395 PurpleAccount *account, const char *who, PurpleConversation *conv, 395 PurpleAccount *account, const char *who, PurpleConversation *conv,
396 const char *ui_hint, void *userdata) 396 void *userdata)
397 { 397 {
398 GntWidget *window, *box; 398 GntWidget *window, *box;
399 GList *grlist; 399 GList *grlist;
400 GntWidget *screenname = NULL, *accountlist = NULL; 400 GntWidget *screenname = NULL, *accountlist = NULL;
401 401
643 static void * 643 static void *
644 finch_request_file(const char *title, const char *filename, 644 finch_request_file(const char *title, const char *filename,
645 gboolean savedialog, 645 gboolean savedialog,
646 GCallback ok_cb, GCallback cancel_cb, 646 GCallback ok_cb, GCallback cancel_cb,
647 PurpleAccount *account, const char *who, PurpleConversation *conv, 647 PurpleAccount *account, const char *who, PurpleConversation *conv,
648 const char *ui_hint, void *user_data) 648 void *user_data)
649 { 649 {
650 GntWidget *window = gnt_file_sel_new(); 650 GntWidget *window = gnt_file_sel_new();
651 GntFileSel *sel = GNT_FILE_SEL(window); 651 GntFileSel *sel = GNT_FILE_SEL(window);
652 PurpleGntFileRequest *data = g_new0(PurpleGntFileRequest, 1); 652 PurpleGntFileRequest *data = g_new0(PurpleGntFileRequest, 1);
653 const char *path; 653 const char *path;