comparison src/gtkimhtml.c @ 11760:c0fca40fd938

[gaim-migrate @ 14051] You know how if you were talking to someone with a body background and he was the last person to say something, his background color would go all the way to the bottom of the imhtml. This changes that; I think it's better. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 23 Oct 2005 20:39:00 +0000
parents 21aff66af1e7
children a9e9b76905b4
comparison
equal deleted inserted replaced
11759:73f58cd25951 11760:c0fca40fd938
751 tag_area.x, 751 tag_area.x,
752 tag_area.y, 752 tag_area.y,
753 &tag_area.x, 753 &tag_area.x,
754 &tag_area.y); 754 &tag_area.y);
755 755
756 rect.width = visible_rect.width; 756
757 if (gtk_text_iter_is_end(&cur)) 757 rect.height = tag_area.y + tag_area.height - rect.y
758 rect.height = visible_rect.y + visible_rect.height - rect.y; 758 + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget));
759 else
760 rect.height = tag_area.y + tag_area.height - rect.y
761 + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget));
762 759
763 color = tag->name + 11; 760 color = tag->name + 11;
764 761
765 if (!gdk_color_parse(color, &gcolor)) { 762 if (!gdk_color_parse(color, &gcolor)) {
766 gchar tmp[8]; 763 gchar tmp[8];