comparison libpurple/protocols/qq/qq.c @ 20598:285bb637a2b7

Updated hinting to be less invasive
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 22 Sep 2007 16:19:34 +0000
parents 44b4e8bd759b
children 8c9aad9479c0
comparison
equal deleted inserted replaced
20597:591267f6f1d5 20598:285bb637a2b7
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 {