Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 5329:5e1eeeba4e68
[gaim-migrate @ 5702]
David Brigada (jsi) writes:
" This patch makes it so that your timestamps are the
same size as your text. Some people don't like it to
be bigger/smaller than their text."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 08 May 2003 02:58:40 +0000 |
parents | 1f901484599d |
children | fc0441fbf159 |
comparison
equal
deleted
inserted
replaced
5328:e938119382cf | 5329:5e1eeeba4e68 |
---|---|
3963 if (!(logging_options & OPT_LOG_STRIP_HTML)) | 3963 if (!(logging_options & OPT_LOG_STRIP_HTML)) |
3964 gtk_font_options ^= GTK_IMHTML_RETURN_LOG; | 3964 gtk_font_options ^= GTK_IMHTML_RETURN_LOG; |
3965 | 3965 |
3966 if (flags & WFLAG_SYSTEM) { | 3966 if (flags & WFLAG_SYSTEM) { |
3967 if (convo_options & OPT_CONVO_SHOW_TIME) | 3967 if (convo_options & OPT_CONVO_SHOW_TIME) |
3968 g_snprintf(buf, BUF_LONG, "<FONT SIZE=\"2\">(%s) </FONT><B>%s</B>", | 3968 g_snprintf(buf, BUF_LONG, "(%s) <B>%s</B>", |
3969 mdate, message); | 3969 mdate, message); |
3970 else | 3970 else |
3971 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); | 3971 g_snprintf(buf, BUF_LONG, "<B>%s</B>", message); |
3972 | 3972 |
3973 g_snprintf(buf2, sizeof(buf2), | 3973 g_snprintf(buf2, sizeof(buf2), |
3974 "<FONT SIZE=\"2\"><!--(%s) --></FONT><B>%s</B><BR>", | 3974 "<!--(%s) --><B>%s</B><BR>", |
3975 mdate, message); | 3975 mdate, message); |
3976 | 3976 |
3977 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), buf2, -1, 0); | 3977 gtk_imhtml_append_text(GTK_IMHTML(gtkconv->imhtml), buf2, -1, 0); |
3978 | 3978 |
3979 if (logging_options & OPT_LOG_STRIP_HTML) { | 3979 if (logging_options & OPT_LOG_STRIP_HTML) { |
4088 } | 4088 } |
4089 } | 4089 } |
4090 | 4090 |
4091 if (convo_options & OPT_CONVO_SHOW_TIME) | 4091 if (convo_options & OPT_CONVO_SHOW_TIME) |
4092 g_snprintf(buf, BUF_LONG, | 4092 g_snprintf(buf, BUF_LONG, |
4093 "<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\">(%s) </FONT>" | 4093 "<FONT COLOR=\"%s\" %s>(%s) " |
4094 "<B>%s</B></FONT> ", color, | 4094 "<B>%s</B></FONT> ", color, |
4095 sml_attrib ? sml_attrib : "", mdate, str); | 4095 sml_attrib ? sml_attrib : "", mdate, str); |
4096 else | 4096 else |
4097 g_snprintf(buf, BUF_LONG, | 4097 g_snprintf(buf, BUF_LONG, |
4098 "<FONT COLOR=\"%s\" %s><B>%s</B></FONT> ", color, | 4098 "<FONT COLOR=\"%s\" %s><B>%s</B></FONT> ", color, |
4099 sml_attrib ? sml_attrib : "", str); | 4099 sml_attrib ? sml_attrib : "", str); |
4100 | 4100 |
4101 g_snprintf(buf2, BUF_LONG, | 4101 g_snprintf(buf2, BUF_LONG, |
4102 "<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\"><!--(%s) --></FONT>" | 4102 "<FONT COLOR=\"%s\" %s><!--(%s) -->" |
4103 "<B>%s</B></FONT> ", | 4103 "<B>%s</B></FONT> ", |
4104 color, sml_attrib ? sml_attrib : "", mdate, str); | 4104 color, sml_attrib ? sml_attrib : "", mdate, str); |
4105 | 4105 |
4106 g_free(str); | 4106 g_free(str); |
4107 | 4107 |