* src/report/utility-reports/hello-world.scm: added use-modules.

(hello-world-renderer): use share-dir config var, not bare binding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5629 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-10-14 17:51:48 +00:00
parent 9939465994
commit 430eb972f7

View File

@ -5,11 +5,12 @@
;; new reports for GnuCash.
(define-module (gnucash report hello-world))
(use-modules (gnucash bootstrap) (g-wrapped gw-gnc)) ;; FIXME: delete after we finish modularizing.
(use-modules (gnucash gnc-module))
(debug-enable 'debug)
(debug-enable 'backtrace)
(use-modules (gnucash gnc-module))
(gnc:module-load "gnucash/report/report-system" 0)
;; This function will generate a set of options that GnuCash
@ -324,7 +325,7 @@ See the guile (scheme) source code in %s \
for details on writing your own reports, \
or extending existing reports.")
(gnc:html-markup-tt
gnc:_share-dir-default_ "/gnucash/scm/report")))
(gnc:config-var-value-get gnc:*share-dir*) "/gnucash/scm/report")))
(gnc:html-markup-p
(gnc:html-markup/format
(_ "For help on writing reports, or to contribute your brand \