# HG changeset patch # User Sean Egan # Date 1130099940 0 # Node ID c0fca40fd938262f333c0321012f44971cc1b224 # Parent 73f58cd259518742322af1b176947063c3c777a5 [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 diff -r 73f58cd25951 -r c0fca40fd938 src/gtkimhtml.c --- a/src/gtkimhtml.c Sun Oct 23 20:28:13 2005 +0000 +++ b/src/gtkimhtml.c Sun Oct 23 20:39:00 2005 +0000 @@ -753,12 +753,9 @@ &tag_area.x, &tag_area.y); - rect.width = visible_rect.width; - if (gtk_text_iter_is_end(&cur)) - rect.height = visible_rect.y + visible_rect.height - rect.y; - else - rect.height = tag_area.y + tag_area.height - rect.y - + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget)); + + rect.height = tag_area.y + tag_area.height - rect.y + + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget)); color = tag->name + 11;