r16222 - gnucash/trunk/src/report/report-gnome - After saving report, make that button inactive again. #450984
Christian Stimming
cstim at cvs.gnucash.org
Wed Jun 27 16:40:08 EDT 2007
Author: cstim
Date: 2007-06-27 16:40:07 -0400 (Wed, 27 Jun 2007)
New Revision: 16222
Trac: http://svn.gnucash.org/trac/changeset/16222
Modified:
gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
Log:
After saving report, make that button inactive again. #450984
Modified: gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c 2007-06-27 20:33:41 UTC (rev 16221)
+++ gnucash/trunk/src/report/report-gnome/gnc-plugin-page-report.c 2007-06-27 20:40:07 UTC (rev 16222)
@@ -1376,6 +1376,14 @@
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
More information about the gnucash-changes
mailing list