comparison src/gtkimhtml.c @ 5118:c4664c2bfbf8

[gaim-migrate @ 5481] that commit caused 1)timestamps to look like squiggles before the nick and 2)crashes on /join thus it is now reversed. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 13 Apr 2003 14:04:45 +0000
parents be43e51c523c
children 376349b04123
comparison
equal deleted inserted replaced
5117:be43e51c523c 5118:c4664c2bfbf8
823 if (fd->face) { \ 823 if (fd->face) { \
824 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "font", fd->face, NULL); \ 824 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "font", fd->face, NULL); \
825 gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \ 825 gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \
826 } \ 826 } \
827 if (fd->size) { \ 827 if (fd->size) { \
828 gushort points; \ 828 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "size-points", (double)POINT_SIZE(fd->size), NULL); \
829 /* only do the POINT_SIZE converstion for AIM/ICQ */ \
830 points = (strcmp(fd->sml, "AIM/ICQ") == 0) ? POINT_SIZE(fd->size) : fd->size; \
831 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "size-points", (double)points, NULL); \
832 gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \ 829 gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \
833 } \ 830 } \
834 } \ 831 } \
835 if (url) { \ 832 if (url) { \
836 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, NULL); \ 833 texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, NULL); \