| 415 |
415 |
| 416 g = g_new0(gc_and_uid, 1); |
416 g = g_new0(gc_and_uid, 1); |
| 417 g->gc = gc; |
417 g->gc = gc; |
| 418 g->uid = uid; |
418 g->uid = uid; |
| 419 |
419 |
| 420 purple_request_action(gc, _("Block Buddy"), |
420 purple_request_action_with_hint(gc, _("Block Buddy"), |
| 421 _("Are you sure you want to block this buddy?"), NULL, |
421 _("Are you sure you want to block this buddy?"), NULL, |
| 422 1, g, 2, |
422 1, g, "blist", 2, |
| 423 _("Cancel"), |
423 _("Cancel"), |
| 424 G_CALLBACK(qq_do_nothing_with_gc_and_uid), |
424 G_CALLBACK(qq_do_nothing_with_gc_and_uid), |
| 425 _("Block"), G_CALLBACK(qq_block_buddy_with_gc_and_uid)); |
425 _("Block"), G_CALLBACK(qq_block_buddy_with_gc_and_uid)); |
| 426 } |
426 } |
| 427 */ |
427 */ |
| 468 |
468 |
| 469 /* |
469 /* |
| 470 static void _qq_menu_create_permanent_group(PurplePluginAction * action) |
470 static void _qq_menu_create_permanent_group(PurplePluginAction * action) |
| 471 { |
471 { |
| 472 PurpleConnection *gc = (PurpleConnection *) action->context; |
472 PurpleConnection *gc = (PurpleConnection *) action->context; |
| 473 purple_request_input(gc, _("Create QQ Qun"), |
473 purple_request_input_with_hint(gc, _("Create QQ Qun"), |
| 474 _("Input Qun name here"), |
474 _("Input Qun name here"), |
| 475 _("Only QQ members can create permanent Qun"), |
475 _("Only QQ members can create permanent Qun"), |
| 476 "OpenQ", FALSE, FALSE, NULL, |
476 "OpenQ", FALSE, FALSE, NULL, |
| 477 _("Create"), G_CALLBACK(qq_group_create_with_name), _("Cancel"), NULL, gc); |
477 _("Create"), G_CALLBACK(qq_group_create_with_name), _("Cancel"), NULL, "blist", gc); |
| 478 } |
478 } |
| 479 */ |
479 */ |
| 480 |
480 |
| 481 static void _qq_menu_unsubscribe_group(PurpleBlistNode * node) |
481 static void _qq_menu_unsubscribe_group(PurpleBlistNode * node) |
| 482 { |
482 { |