comparison src/protocols/silc/chat.c @ 9502:578986136bac

[gaim-migrate @ 10329] Make gaim_request_file support saving files as well as opening files. Changed silc appropriately, and made the Save dialog in the debug window use this. I changed request.c so that, when closing a request window, it also tries to change any requests or notifies that were created using the ui_handle as the handle. It's similar to using "gc" as the first parameter of a gaim_request_bleh or gaim_notify_bleh function. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 10 Jul 2004 18:38:20 +0000
parents 2770a0e659ca
children 8b2451878e26
comparison
equal deleted inserted replaced
9501:d95e134da0ac 9502:578986136bac
271 SilcUInt32 m; 271 SilcUInt32 m;
272 272
273 f = gaim_request_fields_get_field(fields, "list"); 273 f = gaim_request_fields_get_field(fields, "list");
274 if (!gaim_request_field_list_get_selected(f)) { 274 if (!gaim_request_field_list_get_selected(f)) {
275 /* Add new public key */ 275 /* Add new public key */
276 gaim_request_file(NULL, _("Open Public Key..."), "", 276 gaim_request_file(NULL, _("Open Public Key..."), NULL, FALSE,
277 G_CALLBACK(silcgaim_chat_chpk_add), 277 G_CALLBACK(silcgaim_chat_chpk_add),
278 G_CALLBACK(silcgaim_chat_chpk_cancel), sgc); 278 G_CALLBACK(silcgaim_chat_chpk_cancel), sgc);
279 return; 279 return;
280 } 280 }
281 281