Mercurial > pidgin.yaz
changeset 897:b2ce6a6a8633
[gaim-migrate @ 907]
cover up those white lines. should do this for separators too but i'm lazy.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Sep 2000 22:49:29 +0000 |
parents | ced01cdf0e33 |
children | a0b3dc2d5d23 |
files | src/gtkhtml.c |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkhtml.c Wed Sep 13 21:04:34 2000 +0000 +++ b/src/gtkhtml.c Wed Sep 13 22:49:29 2000 +0000 @@ -2048,13 +2048,20 @@ if (hb->text && hb->back != NULL && selected_state != GTK_STATE_SELECTED) { - int hwidth, hheight, hei; + int hwidth, hheight, hei, tmpcnt; hei = get_line_height(html, hb); gdk_window_get_size(html->html_area, &hwidth, &hheight); gdk_gc_set_foreground(gc, hb->back); gdk_draw_rectangle(html->html_area, gc, TRUE /* filled */, hb->x, hb->y - html->yoffset - hei - 6, hwidth - shift - hb->x + 1, hei + hei + 2); + for (tmpcnt = 1; tmpcnt < hb->newline; tmpcnt++) { + int eoff = hei + hei + 2; + eoff *= tmpcnt; + gdk_draw_rectangle(html->html_area, gc, TRUE, + 1, hb->y - html->yoffset - hei - 6 + eoff, + hwidth, hei + hei + 2); + } } if (hb->fore != NULL) @@ -2244,7 +2251,7 @@ clear_area(html, &area); - (html, html->cursor_hb, 1); + gtk_html_draw_bit(html, html->cursor_hb, 1); }