mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove dead code and unused strings
This commit is contained in:
parent
3fe7be19f7
commit
d1e6163cd9
@ -44,16 +44,6 @@
|
||||
(use-modules (srfi srfi-13)) ; for extra string functions
|
||||
(use-modules (srfi srfi-9))
|
||||
|
||||
(define debugging? #f)
|
||||
|
||||
(define (debug . args)
|
||||
(when debugging?
|
||||
(for-each
|
||||
(lambda (arg)
|
||||
(display (if (string? arg) arg (dump arg)))
|
||||
(display " "))
|
||||
args)))
|
||||
|
||||
(define (hrule cols) ; in fact just puts in an empty row for spacing
|
||||
(display "<tr valign=\"center\"><td colspan=\"")
|
||||
(display cols)
|
||||
|
@ -120,7 +120,6 @@
|
||||
(define optname-show-rates (N_ "Show Exchange Rates"))
|
||||
(define opthelp-show-rates (N_ "Show the exchange rates used."))
|
||||
|
||||
(define pagename-entries (N_ "Entries"))
|
||||
(define optname-two-column
|
||||
(N_ "Display as a two column report"))
|
||||
(define opthelp-two-column
|
||||
@ -416,10 +415,6 @@
|
||||
table (* tree-depth 2) "primary-subheading" #f label 0 1 "total-label-cell"
|
||||
(gnc:sum-collector-commodity balance report-commodity exchange-fn)
|
||||
(1- (* tree-depth 2)) 1 "total-number-cell")))
|
||||
|
||||
;; wrapper around gnc:html-table-append-ruler!
|
||||
(define (add-rule table)
|
||||
(gnc:html-table-append-ruler! table (* 2 tree-depth)))
|
||||
|
||||
(cond
|
||||
((null? accounts)
|
||||
|
@ -42,7 +42,6 @@
|
||||
|
||||
;; let's define a name for the report-guid's, much prettier
|
||||
(define customer-report-guid "4166a20981985fd2b07ff8cb3b7d384e")
|
||||
(define owner-report-guid "c146317be32e4948a561ec7fc89d15c1")
|
||||
|
||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
@ -66,13 +65,6 @@
|
||||
(define optname-show-own-address (N_ "Show Company Address"))
|
||||
(define opthelp-show-own-address (N_ "Show your own company's address and the date of printing."))
|
||||
|
||||
(define pagename-columndisplay (N_ "Display Columns"))
|
||||
(define date-header (N_ "Date"))
|
||||
(define reference-header (N_ "Reference"))
|
||||
(define type-header (N_ "Type"))
|
||||
(define desc-header (N_ "Description"))
|
||||
(define amount-header (N_ "Amount"))
|
||||
|
||||
;; The line break in the next expression will suppress above comments as translator comments.
|
||||
|
||||
(define optname-show-zero-lines
|
||||
|
@ -43,16 +43,6 @@
|
||||
(define optname-price-source (N_ "Price Source"))
|
||||
(define optname-invert (N_ "Invert prices"))
|
||||
|
||||
;; (optname-accounts (N_ "Accounts"))
|
||||
;; The line break in the next expression will suppress above comment as translator comment.
|
||||
|
||||
(define optname-inc-exp
|
||||
(N_ "Show Income/Expense"))
|
||||
(define optname-show-profit (N_ "Show Net Profit"))
|
||||
|
||||
(define optname-sep-bars (N_ "Show Asset & Liability bars"))
|
||||
(define optname-net-bars (N_ "Show Net Worth bars"))
|
||||
|
||||
(define optname-marker (N_ "Marker"))
|
||||
(define optname-markercolor (N_ "Marker Color"))
|
||||
(define optname-plot-width (N_ "Plot Width"))
|
||||
|
@ -199,14 +199,6 @@
|
||||
(> (accrec-treedepth accrec-ie) 1))
|
||||
(set! rshift-ie 1))
|
||||
|
||||
(if debugging?
|
||||
(begin
|
||||
(display "<p>Assets: ") (display accrec-as)
|
||||
(display "<p>Liabilities: ") (display accrec-li)
|
||||
(display "<p>Equities: ") (display accrec-eq)
|
||||
(display "<p>Trading: ") (display accrec-tr)
|
||||
(display "<p>Profit and loss: ") (display accrec-ie)))
|
||||
|
||||
?>
|
||||
<table border="0" class="outer"><tr valign="top"><td valign="top"> <!-- outer table to control columns -->
|
||||
<table border="0" class="accounts" align="left">
|
||||
|
Loading…
Reference in New Issue
Block a user