Mercurial > pidgin
comparison libpurple/request.c @ 21236:73c5f5bfeb39
disapproval of revision '4b2b98ecc70947f687d13c902b1b031247b49392'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 16 Nov 2007 23:27:01 +0000 |
parents | fba1f6c3df0b |
children | 8ae227dca885 |
comparison
equal
deleted
inserted
replaced
21235:fba1f6c3df0b | 21236:73c5f5bfeb39 |
---|---|
1228 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1228 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1229 void *user_data) | 1229 void *user_data) |
1230 { | 1230 { |
1231 return purple_request_input_with_hint( | 1231 return purple_request_input_with_hint( |
1232 handle, title, primary, secondary, default_value, multiline, masked, hint, ok_text, ok_cb, | 1232 handle, title, primary, secondary, default_value, multiline, masked, hint, ok_text, ok_cb, |
1233 cancel_text, cancel_cb, account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data); | 1233 cancel_text, cancel_cb, account, who, conv, "blist", user_data); |
1234 } | 1234 } |
1235 | 1235 |
1236 void * | 1236 void * |
1237 purple_request_input_with_hint(void *handle, const char *title, const char *primary, | 1237 purple_request_input_with_hint(void *handle, const char *title, const char *primary, |
1238 const char *secondary, const char *default_value, | 1238 const char *secondary, const char *default_value, |
1287 | 1287 |
1288 va_start(args, user_data); | 1288 va_start(args, user_data); |
1289 ui_handle = purple_request_choice_varg_with_hint(handle, title, primary, secondary, | 1289 ui_handle = purple_request_choice_varg_with_hint(handle, title, primary, secondary, |
1290 default_value, ok_text, ok_cb, | 1290 default_value, ok_text, ok_cb, |
1291 cancel_text, cancel_cb, | 1291 cancel_text, cancel_cb, |
1292 account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data, args); | 1292 account, who, conv, "blist", user_data, args); |
1293 va_end(args); | 1293 va_end(args); |
1294 | 1294 |
1295 return ui_handle; | 1295 return ui_handle; |
1296 } | 1296 } |
1297 | 1297 |
1328 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1328 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1329 void *user_data, va_list choices) | 1329 void *user_data, va_list choices) |
1330 { | 1330 { |
1331 return purple_request_choice_varg_with_hint( | 1331 return purple_request_choice_varg_with_hint( |
1332 handle, title, primary, secondary, default_value, ok_text, ok_cb, | 1332 handle, title, primary, secondary, default_value, ok_text, ok_cb, |
1333 cancel_text, cancel_cb, account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data, choices); | 1333 cancel_text, cancel_cb, account, who, conv, "blist", user_data, choices); |
1334 } | 1334 } |
1335 | 1335 |
1336 void * | 1336 void * |
1337 purple_request_choice_varg_with_hint(void *handle, const char *title, | 1337 purple_request_choice_varg_with_hint(void *handle, const char *title, |
1338 const char *primary, const char *secondary, | 1338 const char *primary, const char *secondary, |
1382 g_return_val_if_fail(action_count > 0, NULL); | 1382 g_return_val_if_fail(action_count > 0, NULL); |
1383 | 1383 |
1384 va_start(args, action_count); | 1384 va_start(args, action_count); |
1385 ui_handle = purple_request_action_varg_with_hint(handle, title, primary, secondary, | 1385 ui_handle = purple_request_action_varg_with_hint(handle, title, primary, secondary, |
1386 default_action, account, who, conv, | 1386 default_action, account, who, conv, |
1387 PURPLE_REQUEST_HINT_BLIST, user_data, action_count, args); | 1387 "blist", user_data, action_count, args); |
1388 va_end(args); | 1388 va_end(args); |
1389 | 1389 |
1390 return ui_handle; | 1390 return ui_handle; |
1391 } | 1391 } |
1392 | 1392 |
1417 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1417 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1418 void *user_data, size_t action_count, va_list actions) | 1418 void *user_data, size_t action_count, va_list actions) |
1419 { | 1419 { |
1420 return purple_request_action_varg_with_hint( | 1420 return purple_request_action_varg_with_hint( |
1421 handle, title, primary, secondary, default_action, account, who, conv, | 1421 handle, title, primary, secondary, default_action, account, who, conv, |
1422 PURPLE_REQUEST_HINT_BLIST, user_data, action_count, actions); | 1422 "blist", user_data, action_count, actions); |
1423 } | 1423 } |
1424 | 1424 |
1425 void * | 1425 void * |
1426 purple_request_action_varg_with_hint(void *handle, const char *title, | 1426 purple_request_action_varg_with_hint(void *handle, const char *title, |
1427 const char *primary, const char *secondary, | 1427 const char *primary, const char *secondary, |
1461 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1461 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1462 void *user_data) | 1462 void *user_data) |
1463 { | 1463 { |
1464 return purple_request_fields_with_hint( | 1464 return purple_request_fields_with_hint( |
1465 handle, title, primary, secondary, fields, ok_text, ok_cb, | 1465 handle, title, primary, secondary, fields, ok_text, ok_cb, |
1466 cancel_text, cancel_cb, account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data); | 1466 cancel_text, cancel_cb, account, who, conv, "blist", user_data); |
1467 } | 1467 } |
1468 | 1468 |
1469 void * | 1469 void * |
1470 purple_request_fields_with_hint(void *handle, const char *title, const char *primary, | 1470 purple_request_fields_with_hint(void *handle, const char *title, const char *primary, |
1471 const char *secondary, PurpleRequestFields *fields, | 1471 const char *secondary, PurpleRequestFields *fields, |
1508 GCallback ok_cb, GCallback cancel_cb, | 1508 GCallback ok_cb, GCallback cancel_cb, |
1509 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1509 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1510 void *user_data) | 1510 void *user_data) |
1511 { | 1511 { |
1512 return purple_request_file_with_hint( | 1512 return purple_request_file_with_hint( |
1513 handle, title, filename, savedialog, ok_cb, cancel_cb, account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data); | 1513 handle, title, filename, savedialog, ok_cb, cancel_cb, account, who, conv, "blist", user_data); |
1514 } | 1514 } |
1515 | 1515 |
1516 void * | 1516 void * |
1517 purple_request_file_with_hint(void *handle, const char *title, const char *filename, | 1517 purple_request_file_with_hint(void *handle, const char *title, const char *filename, |
1518 gboolean savedialog, | 1518 gboolean savedialog, |
1545 GCallback ok_cb, GCallback cancel_cb, | 1545 GCallback ok_cb, GCallback cancel_cb, |
1546 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1546 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1547 void *user_data) | 1547 void *user_data) |
1548 { | 1548 { |
1549 return purple_request_folder_with_hint( | 1549 return purple_request_folder_with_hint( |
1550 handle, title, dirname, ok_cb, cancel_cb, account, who, conv, PURPLE_REQUEST_HINT_BLIST, user_data); | 1550 handle, title, dirname, ok_cb, cancel_cb, account, who, conv, "blist", user_data); |
1551 } | 1551 } |
1552 | 1552 |
1553 void * | 1553 void * |
1554 purple_request_folder_with_hint(void *handle, const char *title, const char *dirname, | 1554 purple_request_folder_with_hint(void *handle, const char *title, const char *dirname, |
1555 GCallback ok_cb, GCallback cancel_cb, | 1555 GCallback ok_cb, GCallback cancel_cb, |