Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 7911:169e85869dcc
[gaim-migrate @ 8571]
(16:36:25) javabsp: LSchiere: Any text on the same line and before an hr is
duplicated after the hr
(16:37:41) javabsp: Actually it's probably not just on the same line, but
within the same call to gtk_imhtml_append_text_with_images, but anyhow, the
patch handles it.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 21 Dec 2003 21:43:23 +0000 |
parents | f10b8832360f |
children | 3d2c80fa6de5 |
comparison
equal
deleted
inserted
replaced
7910:a63c93e39ea5 | 7911:169e85869dcc |
---|---|
1333 scalable = gtk_imhtml_hr_new(); | 1333 scalable = gtk_imhtml_hr_new(); |
1334 gtk_text_view_get_visible_rect(GTK_TEXT_VIEW(imhtml), &rect); | 1334 gtk_text_view_get_visible_rect(GTK_TEXT_VIEW(imhtml), &rect); |
1335 scalable->add_to(scalable, imhtml, &iter); | 1335 scalable->add_to(scalable, imhtml, &iter); |
1336 scalable->scale(scalable, rect.width, rect.height); | 1336 scalable->scale(scalable, rect.width, rect.height); |
1337 imhtml->scalables = g_list_append(imhtml->scalables, scalable); | 1337 imhtml->scalables = g_list_append(imhtml->scalables, scalable); |
1338 ws[wpos++] = '\n'; | 1338 ws[0] = '\n'; |
1339 ws[1] = NULL; | |
1339 break; | 1340 break; |
1340 case 27: /* /FONT */ | 1341 case 27: /* /FONT */ |
1341 if (fonts) { | 1342 if (fonts) { |
1342 GtkIMHtmlFontDetail *font = fonts->data; | 1343 GtkIMHtmlFontDetail *font = fonts->data; |
1343 if (url) | 1344 if (url) |