r16099 - gnucash/trunk/src/gnome - In reconciliation window, only show interest button if account type is CREDIT or LIABILITY.
Andreas Köhler
andi5 at cvs.gnucash.org
Fri May 18 19:09:32 EDT 2007
Author: andi5
Date: 2007-05-18 19:09:30 -0400 (Fri, 18 May 2007)
New Revision: 16099
Trac: http://svn.gnucash.org/trac/changeset/16099
Modified:
gnucash/trunk/src/gnome/window-reconcile.c
Log:
In reconciliation window, only show interest button if account type is CREDIT or LIABILITY.
It used to be hidden and showed again by gtk_widget_show_all.
Modified: gnucash/trunk/src/gnome/window-reconcile.c
===================================================================
--- gnucash/trunk/src/gnome/window-reconcile.c 2007-05-18 21:41:32 UTC (rev 16098)
+++ gnucash/trunk/src/gnome/window-reconcile.c 2007-05-18 23:09:30 UTC (rev 16099)
@@ -722,7 +722,7 @@
else if( account_type_has_auto_interest_charge( data.account_type ) )
gtk_button_set_label(GTK_BUTTON(interest), _("Enter _Interest Charge...") );
else {
- gtk_widget_hide(interest);
+ gtk_widget_destroy(interest);
interest = NULL;
}
More information about the gnucash-changes
mailing list