From 84a10728280ed2aa66f7f25e7f5cdf18e1275349 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Wed, 27 Jun 2007 20:40:07 +0000 Subject: [PATCH] After saving report, make that button inactive again. #450984 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16222 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/report-gnome/gnc-plugin-page-report.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/report/report-gnome/gnc-plugin-page-report.c b/src/report/report-gnome/gnc-plugin-page-report.c index 3d1bc0e09b..92d87a409a 100644 --- a/src/report/report-gnome/gnc-plugin-page-report.c +++ b/src/report/report-gnome/gnc-plugin-page-report.c @@ -1376,6 +1376,14 @@ gnc_plugin_page_report_save_cb( GtkAction *action, GncPluginPageReport *report ) save_func = scm_c_eval_string("gnc:report-save-to-savefile"); scm_call_1(save_func, priv->cur_report); + + { + GtkActionGroup *action_group = + gnc_plugin_page_get_action_group(GNC_PLUGIN_PAGE(report)); + GtkAction *action = + gtk_action_group_get_action (action_group, "ReportSaveAction"); + gtk_action_set_sensitive(action, FALSE); + } } static void