| 4411 gtk_font_options ^= GTK_IMHTML_USE_POINTSIZE; |
4411 gtk_font_options ^= GTK_IMHTML_USE_POINTSIZE; |
| 4412 } |
4412 } |
| 4413 |
4413 |
| 4414 if (flags & GAIM_MESSAGE_SYSTEM) { |
4414 if (flags & GAIM_MESSAGE_SYSTEM) { |
| 4415 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) |
4415 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) |
| 4416 g_snprintf(buf, BUF_LONG, "(%s) <B>%s</B>", |
4416 g_snprintf(buf, BUF_LONG, "<FONT SIZE=\"2\">(%s)</FONT> <B>%s</B>", |
| 4417 mdate, message); |
4417 mdate, message); |
| 4418 else |
4418 else |
| 4419 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); |
4419 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); |
| 4420 |
4420 |
| 4421 g_snprintf(buf2, sizeof(buf2), |
4421 g_snprintf(buf2, sizeof(buf2), |
| 4422 "<FONT %s><!--(%s) --><B>%s</B></FONT><BR>", |
4422 "<FONT %s><FONT SIZE=\2\"><!--(%s) --></FONT><B>%s</B></FONT><BR>", |
| 4423 sml_attrib, mdate, message); |
4423 sml_attrib, mdate, message); |
| 4424 |
4424 |
| 4425 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf2, 0, images); |
4425 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf2, 0, images); |
| 4426 |
4426 |
| 4427 /* Add the message to a conversations scrollback buffer */ |
4427 /* Add the message to a conversations scrollback buffer */ |
| 4493 } |
4493 } |
| 4494 } |
4494 } |
| 4495 |
4495 |
| 4496 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) |
4496 if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_timestamps")) |
| 4497 g_snprintf(buf, BUF_LONG, |
4497 g_snprintf(buf, BUF_LONG, |
| 4498 "<FONT COLOR=\"%s\" %s>(%s) " |
4498 "<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\">(%s)</FONT> " |
| 4499 "<B>%s</B></FONT> ", color, |
4499 "<B>%s</B></FONT> ", color, |
| 4500 sml_attrib ? sml_attrib : "", mdate, str); |
4500 sml_attrib ? sml_attrib : "", mdate, str); |
| 4501 else |
4501 else |
| 4502 g_snprintf(buf, BUF_LONG, |
4502 g_snprintf(buf, BUF_LONG, |
| 4503 "<FONT COLOR=\"%s\" %s><B>%s</B></FONT> ", color, |
4503 "<FONT COLOR=\"%s\" %s><B>%s</B></FONT> ", color, |
| 4504 sml_attrib ? sml_attrib : "", str); |
4504 sml_attrib ? sml_attrib : "", str); |
| 4505 |
4505 |
| 4506 g_snprintf(buf2, BUF_LONG, |
4506 g_snprintf(buf2, BUF_LONG, |
| 4507 "<FONT COLOR=\"%s\" %s><!--(%s) -->" |
4507 "<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\"><!--(%s) --></FONT>" |
| 4508 "<B>%s</B></FONT> ", |
4508 "<B>%s</B></FONT> ", |
| 4509 color, sml_attrib ? sml_attrib : "", mdate, str); |
4509 color, sml_attrib ? sml_attrib : "", mdate, str); |
| 4510 |
4510 |
| 4511 g_free(str); |
4511 g_free(str); |
| 4512 |
4512 |