comparison libpurple/protocols/sametime/sametime.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
3385 purple_request_fields_with_hint(gc, _("New Conference"), 3385 purple_request_fields_with_hint(gc, _("New Conference"),
3386 msgA, msg1, fields, 3386 msgA, msg1, fields,
3387 _("Create"), G_CALLBACK(conf_create_prompt_join), 3387 _("Create"), G_CALLBACK(conf_create_prompt_join),
3388 _("Cancel"), G_CALLBACK(conf_create_prompt_cancel), 3388 _("Cancel"), G_CALLBACK(conf_create_prompt_cancel),
3389 acct, purple_buddy_get_name(buddy), NULL, 3389 acct, purple_buddy_get_name(buddy), NULL,
3390 PURPLE_REQUEST_HINT_CONV, buddy); 3390 "chat", buddy);
3391 g_free(msg1); 3391 g_free(msg1);
3392 } 3392 }
3393 3393
3394 3394
3395 static void conf_select_prompt_cancel(PurpleBuddy *buddy, 3395 static void conf_select_prompt_cancel(PurpleBuddy *buddy,
3471 purple_request_fields_with_hint(gc, _("Invite to Conference"), 3471 purple_request_fields_with_hint(gc, _("Invite to Conference"),
3472 msgA, msg, fields, 3472 msgA, msg, fields,
3473 _("Invite"), G_CALLBACK(conf_select_prompt_invite), 3473 _("Invite"), G_CALLBACK(conf_select_prompt_invite),
3474 _("Cancel"), G_CALLBACK(conf_select_prompt_cancel), 3474 _("Cancel"), G_CALLBACK(conf_select_prompt_cancel),
3475 acct, purple_buddy_get_name(buddy), NULL, 3475 acct, purple_buddy_get_name(buddy), NULL,
3476 PURPLE_REQUEST_HINT_CONV, buddy); 3476 "chat", buddy);
3477 g_free(msg); 3477 g_free(msg);
3478 } 3478 }
3479 3479
3480 3480
3481 static void blist_menu_conf(PurpleBlistNode *node, gpointer data) { 3481 static void blist_menu_conf(PurpleBlistNode *node, gpointer data) {
3642 _("No Sametime Community Server Specified"), msg, 3642 _("No Sametime Community Server Specified"), msg,
3643 MW_PLUGIN_DEFAULT_HOST, FALSE, FALSE, NULL, 3643 MW_PLUGIN_DEFAULT_HOST, FALSE, FALSE, NULL,
3644 _("Connect"), G_CALLBACK(prompt_host_ok_cb), 3644 _("Connect"), G_CALLBACK(prompt_host_ok_cb),
3645 _("Cancel"), G_CALLBACK(prompt_host_cancel_cb), 3645 _("Cancel"), G_CALLBACK(prompt_host_cancel_cb),
3646 acct, NULL, NULL, 3646 acct, NULL, NULL,
3647 PURPLE_REQUEST_HINT_CONV, gc); 3647 "account", gc);
3648 3648
3649 g_free(msg); 3649 g_free(msg);
3650 } 3650 }
3651 3651
3652 3652
5216 purple_account_get_username(account)); 5216 purple_account_get_username(account));
5217 5217
5218 purple_request_file_with_hint(gc, title, NULL, FALSE, 5218 purple_request_file_with_hint(gc, title, NULL, FALSE,
5219 G_CALLBACK(st_import_action_cb), NULL, 5219 G_CALLBACK(st_import_action_cb), NULL,
5220 account, NULL, NULL, 5220 account, NULL, NULL,
5221 PURPLE_REQUEST_HINT_CONV, gc); 5221 "blist", gc);
5222 5222
5223 g_free(title); 5223 g_free(title);
5224 } 5224 }
5225 5225
5226 5226
5256 purple_account_get_username(account)); 5256 purple_account_get_username(account));
5257 5257
5258 purple_request_file_with_hint(gc, title, NULL, TRUE, 5258 purple_request_file_with_hint(gc, title, NULL, TRUE,
5259 G_CALLBACK(st_export_action_cb), NULL, 5259 G_CALLBACK(st_export_action_cb), NULL,
5260 account, NULL, NULL, 5260 account, NULL, NULL,
5261 PURPLE_REQUEST_HINT_CONV, gc); 5261 "blist", gc);
5262 5262
5263 g_free(title); 5263 g_free(title);
5264 } 5264 }
5265 5265
5266 5266
5394 purple_request_fields_with_hint(gc, _("Select Notes Address Book"), 5394 purple_request_fields_with_hint(gc, _("Select Notes Address Book"),
5395 msgA, msg, fields, 5395 msgA, msg, fields,
5396 _("Add Group"), G_CALLBACK(remote_group_multi_cb), 5396 _("Add Group"), G_CALLBACK(remote_group_multi_cb),
5397 _("Cancel"), G_CALLBACK(remote_group_multi_cleanup), 5397 _("Cancel"), G_CALLBACK(remote_group_multi_cleanup),
5398 purple_connection_get_account(gc), result->name, NULL, 5398 purple_connection_get_account(gc), result->name, NULL,
5399 PURPLE_REQUEST_HINT_BLIST, pd); 5399 "blist", pd);
5400 5400
5401 g_free(msg); 5401 g_free(msg);
5402 } 5402 }
5403 5403
5404 5404
5484 purple_request_input_with_hint(gc, _("Add Group"), msgA, msgB, NULL, 5484 purple_request_input_with_hint(gc, _("Add Group"), msgA, msgB, NULL,
5485 FALSE, FALSE, NULL, 5485 FALSE, FALSE, NULL,
5486 _("Add"), G_CALLBACK(remote_group_action_cb), 5486 _("Add"), G_CALLBACK(remote_group_action_cb),
5487 _("Cancel"), NULL, 5487 _("Cancel"), NULL,
5488 purple_connection_get_account(gc), NULL, NULL, 5488 purple_connection_get_account(gc), NULL, NULL,
5489 PURPLE_REQUEST_HINT_BLIST, gc); 5489 "blist", gc);
5490 } 5490 }
5491 5491
5492 5492
5493 static void search_notify(struct mwResolveResult *result, 5493 static void search_notify(struct mwResolveResult *result,
5494 PurpleConnection *gc) { 5494 PurpleConnection *gc) {
5609 purple_request_input_with_hint(gc, _("User Search"), msgA, msgB, NULL, 5609 purple_request_input_with_hint(gc, _("User Search"), msgA, msgB, NULL,
5610 FALSE, FALSE, NULL, 5610 FALSE, FALSE, NULL,
5611 _("Search"), G_CALLBACK(search_action_cb), 5611 _("Search"), G_CALLBACK(search_action_cb),
5612 _("Cancel"), NULL, 5612 _("Cancel"), NULL,
5613 purple_connection_get_account(gc), NULL, NULL, 5613 purple_connection_get_account(gc), NULL, NULL,
5614 PURPLE_REQUEST_HINT_BLIST, gc); 5614 "blist", gc);
5615 } 5615 }
5616 5616
5617 5617
5618 static GList *mw_plugin_actions(PurplePlugin *plugin, gpointer context) { 5618 static GList *mw_plugin_actions(PurplePlugin *plugin, gpointer context) {
5619 PurplePluginAction *act; 5619 PurplePluginAction *act;