mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove web browser "report".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13392 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2006-02-26 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* src/report/utility-reports/Makefile.am (SCM_FILE_LINKS):
|
||||
* src/report/utility-reports/utility-reports.scm:
|
||||
* src/report/utility-reports/iframe-url.scm:
|
||||
* doc/tip_of_the_day.list.in:
|
||||
Remove web browser "report".
|
||||
|
||||
2006-02-25 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/gnc-main-window.c: Remember the order in which
|
||||
|
||||
@@ -71,10 +71,6 @@ providing all the financial information you want at a glance. \
|
||||
To do so, use the Sample & Custom -> \"Custom Multicolumn Report\" \
|
||||
report.")
|
||||
|
||||
N_( "GnuCash can act as a simple web browser! To display \
|
||||
a web page as a report, use the Sample & Custom -> \
|
||||
\"Custom Web Report\" report.")
|
||||
|
||||
N_( "Style Sheets affect how reports are displayed. Choose \
|
||||
a style sheet for your report as a report option, and use \
|
||||
the Edit -> Style Sheets menu to customize style sheets.")
|
||||
|
||||
@@ -15,7 +15,6 @@ AM_CFLAGS = \
|
||||
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
|
||||
gncscmmod_DATA = \
|
||||
hello-world.scm \
|
||||
iframe-url.scm \
|
||||
utility-reports.scm \
|
||||
view-column.scm \
|
||||
welcome-to-gnucash.scm \
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
|
||||
(define-module (gnucash report iframe-url))
|
||||
(use-modules (gnucash main)) ;; FIXME: delete after we finish modularizing.
|
||||
(use-modules (ice-9 slib))
|
||||
(use-modules (gnucash gnc-module))
|
||||
|
||||
(gnc:module-load "gnucash/report/report-system" 0)
|
||||
|
||||
(define (options-generator)
|
||||
(let ((options (gnc:new-options)))
|
||||
(gnc:register-option options
|
||||
(gnc:make-string-option
|
||||
(N_ "General")
|
||||
(N_ "URL to frame")
|
||||
"a" (N_ "URL to display in report")
|
||||
"http://www.gnucash.org"))
|
||||
options))
|
||||
|
||||
(define (renderer report-obj)
|
||||
(let ((url (gnc:option-value
|
||||
(gnc:lookup-option
|
||||
(gnc:report-options report-obj)
|
||||
(N_ "General") (N_ "URL to frame"))))
|
||||
(doc (gnc:make-html-document))
|
||||
(txt (gnc:make-html-text)))
|
||||
(gnc:html-text-append!
|
||||
txt
|
||||
(gnc:html-markup/attr
|
||||
"iframe" (format #f "src=\"~A\"" url)
|
||||
"Your browser does not support inline frames, sorry."))
|
||||
(gnc:html-document-add-object! doc txt)
|
||||
doc))
|
||||
|
||||
(gnc:define-report
|
||||
'version 1
|
||||
'name (N_ "Frame URL")
|
||||
'menu-name (N_ "Custom Web Report")
|
||||
'menu-path (list gnc:menuname-utility)
|
||||
'options-generator options-generator
|
||||
'renderer renderer)
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
(use-modules (gnucash main)) ;; FIXME: delete after we finish modularizing.
|
||||
(use-modules (gnucash report hello-world))
|
||||
(use-modules (gnucash report iframe-url))
|
||||
(use-modules (gnucash report view-column))
|
||||
(use-modules (gnucash report welcome-to-gnucash))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user