Mercurial > pidgin
changeset 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 | 73f58cd25951 |
children | d8f002812186 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;