[Gnucash-changes] r11826 -
gnucash/trunk/src/register/register-gnome - This routine
should always return the minimal height the widget will
David Hampton
hampton at cvs.gnucash.org
Fri Nov 4 00:48:07 EST 2005
Author: hampton
Date: 2005-11-04 00:48:06 -0500 (Fri, 04 Nov 2005)
New Revision: 11826
Modified:
gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
Log:
This routine should always return the minimal height the widget will
accept, not the current height of the widget. Returning the current
height causes all sorts of problems such as windows that are
impossible to resize down.
Modified: gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
===================================================================
--- gnucash/trunk/src/register/register-gnome/gnucash-sheet.c 2005-11-03 23:25:38 UTC (rev 11825)
+++ gnucash/trunk/src/register/register-gnome/gnucash-sheet.c 2005-11-04 05:48:06 UTC (rev 11826)
@@ -665,9 +665,6 @@
if (!style)
return DEFAULT_REGISTER_HEIGHT;
- if (sheet->window_height >= 0)
- return sheet->window_height;
-
cd = gnucash_style_get_cell_dimensions (style, 0, 0);
if (cd == NULL)
return DEFAULT_REGISTER_HEIGHT;
More information about the gnucash-changes
mailing list