Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 7850:9ca340251309
[gaim-migrate @ 8504]
show smileys correctly in a couple places
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 13 Dec 2003 18:35:38 +0000 |
parents | 9db4ec5e6bca |
children | 340df1652af1 |
comparison
equal
deleted
inserted
replaced
7849:2920debcb3c3 | 7850:9ca340251309 |
---|---|
4498 mdate, message); | 4498 mdate, message); |
4499 else | 4499 else |
4500 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); | 4500 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); |
4501 | 4501 |
4502 g_snprintf(buf2, sizeof(buf2), | 4502 g_snprintf(buf2, sizeof(buf2), |
4503 "<!--(%s) --><B>%s</B><BR>", | 4503 "<FONT %s><!--(%s) --><B>%s</B></FONT><BR>", |
4504 mdate, message); | 4504 sml_attrib, mdate, message); |
4505 | 4505 |
4506 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf2, 0, images); | 4506 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf2, 0, images); |
4507 | 4507 |
4508 /* Add the message to a conversations scrollback buffer */ | 4508 /* Add the message to a conversations scrollback buffer */ |
4509 conv->history = g_string_append(conv->history, buf); | 4509 conv->history = g_string_append(conv->history, buf); |
4510 conv->history = g_string_append(conv->history, "<BR>\n"); | 4510 conv->history = g_string_append(conv->history, "<BR>\n"); |
4511 | 4511 |
4512 } else if (flags & GAIM_MESSAGE_NO_LOG) { | 4512 } else if (flags & GAIM_MESSAGE_NO_LOG) { |
4513 g_snprintf(buf, BUF_LONG, | 4513 g_snprintf(buf, BUF_LONG, |
4514 "<B><FONT COLOR=\"#777777\">%s</FONT></B><BR>", | 4514 "<B><FONT %s COLOR=\"#777777\">%s</FONT></B><BR>", |
4515 message); | 4515 sml_attrib, message); |
4516 | 4516 |
4517 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf, 0, images); | 4517 gtk_imhtml_append_text_with_images(GTK_IMHTML(gtkconv->imhtml), buf, 0, images); |
4518 } | 4518 } |
4519 else { | 4519 else { |
4520 char *new_message = g_memdup(message, length); | 4520 char *new_message = g_memdup(message, length); |