Mercurial > pidgin.yaz
comparison src/dialogs.c @ 6034:5a0060191a77
[gaim-migrate @ 6484]
(16:32:42) javabsp: Who wants a patch? Fixes 744090
(16:33:15) javabsp: 0.64cvs bad confirmation removing chat room(from blist)
(16:33:55) javabsp: It's showing something like "remove chat (null)" if the chat doesn't have an alias
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 05 Jul 2003 20:52:43 +0000 |
parents | d2d5d1984b09 |
children | 547ba881bc7e |
comparison
equal
deleted
inserted
replaced
6033:22923270493f | 6034:5a0060191a77 |
---|---|
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 char *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), chat->alias); | 460 const 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 | 462 |
462 gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, | 463 gaim_request_action(NULL, NULL, _("Remove Chat"), text, -1, chat, 2, |
463 _("Remove Chat"), G_CALLBACK(do_remove_chat), | 464 _("Remove Chat"), G_CALLBACK(do_remove_chat), |
464 _("Cancel"), NULL); | 465 _("Cancel"), NULL); |
465 | 466 |
467 g_free(name); | |
466 g_free(text); | 468 g_free(text); |
467 } | 469 } |
468 | 470 |
469 void show_confirm_del_group(struct group *g) | 471 void show_confirm_del_group(struct group *g) |
470 { | 472 { |