From ddb95ff820c5a898551da2a7bcce1d4cf25d5440 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Fri, 22 Aug 2003 03:45:12 +0000 Subject: [PATCH] with theese fixes, book closing now officially beta git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9140 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/druid-acct-period.c | 3 ++- src/gnome/window-main.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gnome/druid-acct-period.c b/src/gnome/druid-acct-period.c index c754aa39e9..f4a3c5860b 100644 --- a/src/gnome/druid-acct-period.c +++ b/src/gnome/druid-acct-period.c @@ -452,10 +452,11 @@ ap_close_period (GnomeDruidPage *druidpage, gnc_file_save (); gnc_resume_gui_refresh (); gnc_engine_resume_events (); + gnc_gui_refresh_all (); /* resume above should have been enough ??? */ } /* Report the status back to the user. */ - info->close_status = 0; /* XXX fixme */ + info->close_status = 0; /* XXX fixme success or failure? */ /* Find the next closing date ... */ info->prev_closing_date = info->closing_date; diff --git a/src/gnome/window-main.c b/src/gnome/window-main.c index 2926c0c3f5..f27d452344 100644 --- a/src/gnome/window-main.c +++ b/src/gnome/window-main.c @@ -904,8 +904,8 @@ gnc_main_window_create_menus(GNCMDIInfo * maininfo) gnc_sched_xaction_tools_submenu_template ), { GNOME_APP_UI_ITEM, - N_("Close Books (Experimental/Borken)"), - N_("Configure accounting periods"), + N_("Close Books"), + N_("Archive old data using accounting periods"), gnc_main_window_books_druid_cb, NULL, NULL, GNOME_APP_PIXMAP_NONE, NULL, 0, 0, NULL