Mercurial > pidgin
comparison src/gtkdialogs.c @ 10222:224c9f244a3a
[gaim-migrate @ 11351]
Thanks arhart
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 20 Nov 2004 22:51:15 +0000 |
parents | f37516ae6a0b |
children | a66cf83552dc |
comparison
equal
deleted
inserted
replaced
10221:9d833f54d220 | 10222:224c9f244a3a |
---|---|
738 gaim_gtkdialogs_remove_buddy(buddy); | 738 gaim_gtkdialogs_remove_buddy(buddy); |
739 } else { | 739 } else { |
740 gchar *text = g_strdup_printf(_("You are about to remove the contact containing %s and %d other buddies from your buddy list. Do you want to continue?"), | 740 gchar *text = g_strdup_printf(_("You are about to remove the contact containing %s and %d other buddies from your buddy list. Do you want to continue?"), |
741 buddy->name, contact->totalsize - 1); | 741 buddy->name, contact->totalsize - 1); |
742 | 742 |
743 gaim_request_action(NULL, NULL, _("Remove Contact"), text, 0, contact, 2, | 743 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, |
744 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), | 744 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), |
745 _("Cancel"), NULL); | 745 _("Cancel"), NULL); |
746 | 746 |
747 g_free(text); | 747 g_free(text); |
748 } | 748 } |
798 g_return_if_fail(group != NULL); | 798 g_return_if_fail(group != NULL); |
799 | 799 |
800 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), | 800 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), |
801 group->name); | 801 group->name); |
802 | 802 |
803 gaim_request_action(NULL, NULL, _("Remove Group"), text, 0, group, 2, | 803 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, |
804 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), | 804 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), |
805 _("Cancel"), NULL); | 805 _("Cancel"), NULL); |
806 | 806 |
807 g_free(text); | 807 g_free(text); |
808 } | 808 } |
840 g_return_if_fail(buddy != NULL); | 840 g_return_if_fail(buddy != NULL); |
841 | 841 |
842 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), | 842 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
843 buddy->name); | 843 buddy->name); |
844 | 844 |
845 gaim_request_action(NULL, NULL, _("Remove Buddy"), text, 0, buddy, 2, | 845 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, |
846 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), | 846 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), |
847 _("Cancel"), NULL); | 847 _("Cancel"), NULL); |
848 | 848 |
849 g_free(text); | 849 g_free(text); |
850 } | 850 } |
878 gchar *name = gaim_chat_get_display_name(chat); | 878 gchar *name = gaim_chat_get_display_name(chat); |
879 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); | 879 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
880 | 880 |
881 g_return_if_fail(chat != NULL); | 881 g_return_if_fail(chat != NULL); |
882 | 882 |
883 gaim_request_action(NULL, NULL, _("Remove Chat"), text, 0, chat, 2, | 883 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, |
884 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), | 884 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), |
885 _("Cancel"), NULL); | 885 _("Cancel"), NULL); |
886 | 886 |
887 g_free(name); | 887 g_free(name); |
888 g_free(text); | 888 g_free(text); |