changeset 15969:43182e0e58c0

merge of '6e4582fc95533cc15bf3eca89208732cd23286c7' and 'ab56468faf8e4a226a9512f53bbb4c79b5983238'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 29 Mar 2007 20:30:46 +0000
parents 4c6b77ff3b1b (current diff) 0ab73bf1fef1 (diff)
children 790d1d003825
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c	Thu Mar 29 17:41:06 2007 +0000
+++ b/finch/libgnt/gnttree.c	Thu Mar 29 20:30:46 2007 +0000
@@ -1473,6 +1473,8 @@
 		for (i = 0, iter = row->columns; iter; iter = iter->next, i++) {
 			GntTreeCol *col = iter->data;
 			int w = gnt_util_onscreen_width(col->text, NULL);
+			if (i == 0 && row->choice)
+				w += 4;
 			if (widths[i] < w)
 				widths[i] = w;
 		}