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:
Joshua Sled
2006-02-26 14:53:37 +00:00
parent dd8ce0e090
commit e65ef1b051
5 changed files with 8 additions and 46 deletions

View File

@@ -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

View File

@@ -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.")

View File

@@ -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 \

View File

@@ -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)

View File

@@ -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))