changeset 15758:ba30f28193ff

gnttree can have a size of 1. This fixes <sadrul> meh. gntcombobox crashes if it has only one item in it
author Richard Nelson <wabz@pidgin.im>
date Fri, 02 Mar 2007 03:50:03 +0000
parents 0e9bcdeaf2fa
children 01fcef299063
files console/libgnt/gnttree.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gnttree.c	Fri Mar 02 03:35:44 2007 +0000
+++ b/console/libgnt/gnttree.c	Fri Mar 02 03:50:03 2007 +0000
@@ -835,7 +835,7 @@
 	tree->show_separator = TRUE;
 	GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_GROW_X | GNT_WIDGET_GROW_Y);
 	widget->priv.minw = 4;
-	widget->priv.minh = 4;
+	widget->priv.minh = 1;
 	GNTDEBUG;
 }