diff finch/libgnt/gnttree.c @ 24890:55f4261e1358

Boldify the selected row in the tree. This is helpful when, for example, there's no color in the terminal.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 05 Jan 2009 14:43:15 +0000
parents 6d4e4a5963f3
children c67d43408daa
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c	Mon Jan 05 09:50:38 2009 +0000
+++ b/finch/libgnt/gnttree.c	Mon Jan 05 14:43:15 2009 +0000
@@ -518,6 +518,7 @@
 
 		if (row == tree->current)
 		{
+			attr |= A_BOLD;
 			if (gnt_widget_has_focus(widget))
 				attr |= gnt_color_pair(GNT_COLOR_HIGHLIGHT);
 			else