From ff06f1a801d53ff643b67a8b1cf7fbf7da97e502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Fri, 18 May 2007 23:09:30 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16099 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/window-reconcile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome/window-reconcile.c b/src/gnome/window-reconcile.c index ea5cce67b2..e191b9d073 100644 --- a/src/gnome/window-reconcile.c +++ b/src/gnome/window-reconcile.c @@ -722,7 +722,7 @@ startRecnWindow(GtkWidget *parent, Account *account, 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; }