Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/qq.c @ 21086:8c9aad9479c0
Removed request stuff - now on pidgin-request-ui-hint
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Wed, 10 Oct 2007 22:57:51 +0000 |
parents | 285bb637a2b7 |
children | cab348e39751 |
comparison
equal
deleted
inserted
replaced
21077:488796f5ba33 | 21086:8c9aad9479c0 |
---|---|
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_with_hint(gc, _("Block Buddy"), | 420 purple_request_action(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, "blist", 2, | 422 1, g, 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_with_hint(gc, _("Create QQ Qun"), | 473 purple_request_input(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, "blist", gc); | 477 _("Create"), G_CALLBACK(qq_group_create_with_name), _("Cancel"), NULL, 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 { |