im.pidgin.pidgin.next.minor: e9569e484c92e7d874ea668fecab0f0492f2aab6

sadrul at pidgin.im sadrul at pidgin.im
Fri Oct 26 05:00:57 EDT 2007


-----------------------------------------------------------------
Revision: e9569e484c92e7d874ea668fecab0f0492f2aab6
Ancestor: a0cc58611eba803e55891cb8cfefa80d29a8413b
Author: sadrul at pidgin.im
Date: 2007-10-26T08:41:17
Branch: im.pidgin.pidgin.next.minor

Modified files:
        finch/libgnt/gnttree.c

ChangeLog: 

Draw the 'header' correctly when not showing borders.

-------------- next part --------------
============================================================
--- finch/libgnt/gnttree.c	b81ecee6a8b9adc1be7010822c47b7f6296228e6
+++ finch/libgnt/gnttree.c	92e969903987cedcf12bb7eaa407a0c491fc9231
@@ -455,9 +455,10 @@ redraw_tree(GntTree *tree)
 		}
 		if (pos)
 		{
-			tree_mark_columns(tree, pos, 0, ACS_TTEE | gnt_color_pair(GNT_COLOR_NORMAL));
+			tree_mark_columns(tree, pos, 0,
+					(tree->show_separator ? ACS_TTEE : ACS_HLINE) | gnt_color_pair(GNT_COLOR_NORMAL));
 			tree_mark_columns(tree, pos, widget->priv.height - pos,
-					ACS_BTEE | gnt_color_pair(GNT_COLOR_NORMAL));
+					(tree->show_separator ? ACS_BTEE : ACS_HLINE) | gnt_color_pair(GNT_COLOR_NORMAL));
 		}
 		tree_mark_columns(tree, pos, pos + 1,
 			(tree->show_separator ? ACS_PLUS : ACS_HLINE) | gnt_color_pair(GNT_COLOR_NORMAL));


More information about the Commits mailing list