src/dialogs.c

changeset 6036
285e48913c72
parent 6034
148d8b0fe741
child 6041
2beb9f7f30ef
equal deleted inserted replaced
6035:b245be9cbe3b 6036:285e48913c72
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);

mercurial