| 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 |