Mercurial > pidgin.yaz
changeset 14365:573b36b628f6
[gaim-migrate @ 17071]
meify
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 20:43:12 +0000 |
parents | 338ac096e322 |
children | 71666c137a07 |
files | console/gntconv.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntconv.c Mon Aug 28 20:27:03 2006 +0000 +++ b/console/gntconv.c Mon Aug 28 20:43:12 2006 +0000 @@ -245,9 +245,16 @@ gaim_prefs_get_bool("/gaim/gnt/conversations/timestamps")) gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), gaim_utf8_strftime("(%H:%M:%S) ", localtime(&mtime)), GNT_TEXT_FLAG_DIM); + if (who && *who && (flags & (GAIM_MESSAGE_SEND | GAIM_MESSAGE_RECV))) { - char * name = g_strdup_printf("%s: ", who); + char * name = NULL; + + if (gaim_message_meify((char*)message, -1)) + name = g_strdup_printf("*** %s ", who); + else + name = g_strdup_printf("%s: ", who); + gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), name, GNT_TEXT_FLAG_BOLD); g_free(name);