| 455 g_free(text); |
455 g_free(text); |
| 456 } |
456 } |
| 457 |
457 |
| 458 void show_confirm_del_chat(struct chat *chat) |
458 void show_confirm_del_chat(struct chat *chat) |
| 459 { |
459 { |
| 460 const char *name = gaim_chat_get_display_name(chat); |
460 char *name = gaim_chat_get_display_name(chat); |
| 461 char *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
461 char *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
| 462 |
462 |
| 463 gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, |
463 gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, |
| 464 _("Remove Chat"), G_CALLBACK(do_remove_chat), |
464 _("Remove Chat"), G_CALLBACK(do_remove_chat), |
| 465 _("Cancel"), NULL); |
465 _("Cancel"), NULL); |