pidgin/gtkprivacy.c

changeset 34331
c8486462bb63
parent 34329
ddbc1337332c
child 34940
c0aef3b64c56
equal deleted inserted replaced
34330:35d5e8fcc07b 34331:c8486462bb63
506 char *secondary = 506 char *secondary =
507 g_strdup_printf(_("Are you sure you wish to allow " 507 g_strdup_printf(_("Are you sure you wish to allow "
508 "%s to contact you?"), name); 508 "%s to contact you?"), name);
509 509
510 510
511 purple_request_action(account, _("Permit User"), primary, secondary, 511 purple_request_action(account, _("Permit User"), primary,
512 0, 512 secondary, 0, purple_request_cpar_from_account(account),
513 account, name, NULL, 513 data, 2,
514 data, 2, 514 _("_Permit"), G_CALLBACK(confirm_permit_block_cb),
515 _("_Permit"), G_CALLBACK(confirm_permit_block_cb), 515 _("Cancel"), G_CALLBACK(destroy_request_data));
516 _("Cancel"), G_CALLBACK(destroy_request_data));
517 516
518 g_free(primary); 517 g_free(primary);
519 g_free(secondary); 518 g_free(secondary);
520 } 519 }
521 } 520 }
545 else { 544 else {
546 char *primary = g_strdup_printf(_("Block %s?"), name); 545 char *primary = g_strdup_printf(_("Block %s?"), name);
547 char *secondary = 546 char *secondary =
548 g_strdup_printf(_("Are you sure you want to block %s?"), name); 547 g_strdup_printf(_("Are you sure you want to block %s?"), name);
549 548
550 purple_request_action(account, _("Block User"), primary, secondary, 549 purple_request_action(account, _("Block User"), primary,
551 0, 550 secondary, 0, purple_request_cpar_from_account(account),
552 account, name, NULL, 551 data, 2,
553 data, 2, 552 _("_Block"), G_CALLBACK(confirm_permit_block_cb),
554 _("_Block"), G_CALLBACK(confirm_permit_block_cb), 553 _("Cancel"), G_CALLBACK(destroy_request_data));
555 _("Cancel"), G_CALLBACK(destroy_request_data));
556 554
557 g_free(primary); 555 g_free(primary);
558 g_free(secondary); 556 g_free(secondary);
559 } 557 }
560 } 558 }

mercurial