Mercurial > pidgin
comparison finch/gntpounce.c @ 16439:08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 26 Apr 2007 12:25:49 +0000 |
parents | 4999bbc52881 |
children | 4ca97b26a8fb |
comparison
equal
deleted
inserted
replaced
16435:a46a0362dc34 | 16439:08db93bbd798 |
---|---|
645 pounce = (PurplePounce *)gnt_tree_get_selection_data(GNT_TREE(dialog->tree)); | 645 pounce = (PurplePounce *)gnt_tree_get_selection_data(GNT_TREE(dialog->tree)); |
646 account = purple_pounce_get_pouncer(pounce); | 646 account = purple_pounce_get_pouncer(pounce); |
647 pouncer = purple_account_get_username(account); | 647 pouncer = purple_account_get_username(account); |
648 pouncee = purple_pounce_get_pouncee(pounce); | 648 pouncee = purple_pounce_get_pouncee(pounce); |
649 buf = g_strdup_printf(_("Are you sure you want to delete the pounce on %s for %s?"), pouncee, pouncer); | 649 buf = g_strdup_printf(_("Are you sure you want to delete the pounce on %s for %s?"), pouncee, pouncer); |
650 purple_request_action(pounce, NULL, buf, NULL, 0, pounce, 2, | 650 purple_request_action(pounce, NULL, buf, NULL, 0, |
651 account, pouncee, NULL, | |
652 pounce, 2, | |
651 _("Delete"), pounces_manager_delete_confirm_cb, | 653 _("Delete"), pounces_manager_delete_confirm_cb, |
652 _("Cancel"), NULL); | 654 _("Cancel"), NULL); |
653 g_free(buf); | 655 g_free(buf); |
654 } | 656 } |
655 | 657 |