From c1605697370342217ae333a812d0adc1325f8a5b Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Wed, 27 Jun 2007 20:33:41 +0000 Subject: [PATCH] Show dialog on successful report save. #450984 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16221 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/report-system/report.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/report/report-system/report.scm b/src/report/report-system/report.scm index 0cff014f04..8d1fd73305 100644 --- a/src/report/report-system/report.scm +++ b/src/report/report-system/report.scm @@ -406,7 +406,17 @@ (begin (display saved-form (open-file conf-file-name "a")) - (force-output))))) + (force-output) + (let ((report-name (gnc:report-name report))) + (gnc-info-dialog + '() + (sprintf + #f (_ "Your report \"%s\" has been saved into the configuration file \"%s\". The report will be available in the menu Reports -> Custom at the next startup of GnuCash.") + (if (and report-name (not (string-null? report-name))) + (gnc:gettext report-name) + (gnc:gettext "Untitled")) + conf-file-name))) + )))) ;; gets the renderer from the report template; ;; gets the stylesheet from the report;