Mercurial > pidgin
diff console/libgnt/gnttree.c @ 13896:a621329e8c85
[gaim-migrate @ 16381]
Changes in GntTextView. Things go somewhat 'smooth' when run inside
valgrind. Otherwise, it's kind of flaky. I don't mind a single bit
if someone gave me a hint :)
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 01 Jul 2006 00:56:05 +0000 |
parents | 9d66969a2e32 |
children | cc60d0861337 |
line wrap: on
line diff
--- a/console/libgnt/gnttree.c Fri Jun 30 16:23:56 2006 +0000 +++ b/console/libgnt/gnttree.c Sat Jul 01 00:56:05 2006 +0000 @@ -203,7 +203,7 @@ if (row == tree->current) { - if (GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_HAS_FOCUS)) + if (gnt_widget_has_focus(widget)) wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_HIGHLIGHT)); else wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_HIGHLIGHT_D)); /* XXX: This, somehow, doesn't work */ @@ -230,9 +230,6 @@ { GntTree *tree = GNT_TREE(widget); - scrollok(widget->window, TRUE); - wsetscrreg(widget->window, 0, widget->priv.height - 1); - redraw_tree(tree); DEBUG;