Mercurial > pidgin
comparison console/gntconv.c @ 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 | 1bd09d355f9e |
children | f4af666fafe3 |
comparison
equal
deleted
inserted
replaced
14364:338ac096e322 | 14365:573b36b628f6 |
---|---|
243 /* Unnecessary to print the timestamp for delayed message */ | 243 /* Unnecessary to print the timestamp for delayed message */ |
244 if (!(flags & GAIM_MESSAGE_DELAYED) && | 244 if (!(flags & GAIM_MESSAGE_DELAYED) && |
245 gaim_prefs_get_bool("/gaim/gnt/conversations/timestamps")) | 245 gaim_prefs_get_bool("/gaim/gnt/conversations/timestamps")) |
246 gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), | 246 gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), |
247 gaim_utf8_strftime("(%H:%M:%S) ", localtime(&mtime)), GNT_TEXT_FLAG_DIM); | 247 gaim_utf8_strftime("(%H:%M:%S) ", localtime(&mtime)), GNT_TEXT_FLAG_DIM); |
248 | |
248 if (who && *who && (flags & (GAIM_MESSAGE_SEND | GAIM_MESSAGE_RECV))) | 249 if (who && *who && (flags & (GAIM_MESSAGE_SEND | GAIM_MESSAGE_RECV))) |
249 { | 250 { |
250 char * name = g_strdup_printf("%s: ", who); | 251 char * name = NULL; |
252 | |
253 if (gaim_message_meify((char*)message, -1)) | |
254 name = g_strdup_printf("*** %s ", who); | |
255 else | |
256 name = g_strdup_printf("%s: ", who); | |
257 | |
251 gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), | 258 gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(ggconv->tv), |
252 name, GNT_TEXT_FLAG_BOLD); | 259 name, GNT_TEXT_FLAG_BOLD); |
253 g_free(name); | 260 g_free(name); |
254 } | 261 } |
255 else | 262 else |