| 751 gaim_gtkdialogs_remove_buddy(buddy); |
751 gaim_gtkdialogs_remove_buddy(buddy); |
| 752 } else { |
752 } else { |
| 753 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?"), |
753 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?"), |
| 754 buddy->name, contact->totalsize - 1); |
754 buddy->name, contact->totalsize - 1); |
| 755 |
755 |
| 756 gaim_request_action(NULL, NULL, _("Remove Contact"), text, |
756 gaim_request_action(NULL, NULL, _("Remove Contact"), text, 0, contact, 2, |
| 757 GAIM_DEFAULT_ACTION_NONE, contact, 2, |
|
| 758 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), |
757 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), |
| 759 _("Cancel"), NULL); |
758 _("Cancel"), NULL); |
| 760 |
759 |
| 761 g_free(text); |
760 g_free(text); |
| 762 } |
761 } |
| 812 g_return_if_fail(group != NULL); |
811 g_return_if_fail(group != NULL); |
| 813 |
812 |
| 814 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?"), |
813 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?"), |
| 815 group->name); |
814 group->name); |
| 816 |
815 |
| 817 gaim_request_action(NULL, NULL, _("Remove Group"), text, -1, group, 2, |
816 gaim_request_action(NULL, NULL, _("Remove Group"), text, 0, group, 2, |
| 818 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), |
817 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), |
| 819 _("Cancel"), NULL); |
818 _("Cancel"), NULL); |
| 820 |
819 |
| 821 g_free(text); |
820 g_free(text); |
| 822 } |
821 } |
| 854 g_return_if_fail(buddy != NULL); |
853 g_return_if_fail(buddy != NULL); |
| 855 |
854 |
| 856 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
855 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
| 857 buddy->name); |
856 buddy->name); |
| 858 |
857 |
| 859 gaim_request_action(NULL, NULL, _("Remove Buddy"), text, |
858 gaim_request_action(NULL, NULL, _("Remove Buddy"), text, 0, buddy, 2, |
| 860 GAIM_DEFAULT_ACTION_NONE, buddy, 2, |
|
| 861 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), |
859 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), |
| 862 _("Cancel"), NULL); |
860 _("Cancel"), NULL); |
| 863 |
861 |
| 864 g_free(text); |
862 g_free(text); |
| 865 } |
863 } |
| 890 gchar *name = gaim_chat_get_display_name(chat); |
888 gchar *name = gaim_chat_get_display_name(chat); |
| 891 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
889 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
| 892 |
890 |
| 893 g_return_if_fail(chat != NULL); |
891 g_return_if_fail(chat != NULL); |
| 894 |
892 |
| 895 gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, |
893 gaim_request_action(NULL, NULL, _("Remove Chat"), text, 0, chat, 2, |
| 896 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), |
894 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), |
| 897 _("Cancel"), NULL); |
895 _("Cancel"), NULL); |
| 898 |
896 |
| 899 g_free(name); |
897 g_free(name); |
| 900 g_free(text); |
898 g_free(text); |