mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Dave Herman's patch to suppresses extraneous entries table entries in
reports when there are no files specified for the "logo pix" file or the "header pix" file. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13044 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2006-01-29 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/report/stylesheets/stylesheet-fancy.scm : Dave Herman's
|
||||
patch to suppresses extraneous entries table entries in reports
|
||||
when there are no files specified for the "logo pix" file or the
|
||||
"header pix" file.
|
||||
|
||||
* src/gnome-utils/gnc-main-window.c: Eskil Bylund's patch from
|
||||
Epiphany to enable cut/paste. Extended to support GtkTextView
|
||||
widgets as well as GtkEditable widgets.
|
||||
|
||||
@@ -289,16 +289,22 @@
|
||||
(gnc:html-markup-b
|
||||
(gnc:html-document-title doc)))))
|
||||
|
||||
(gnc:html-table-set-cell!
|
||||
t 0 0
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-img logopixmap)))
|
||||
|
||||
(gnc:html-table-set-cell!
|
||||
t 0 1
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-img headpixmap)))
|
||||
|
||||
(if (and logopixmap
|
||||
(not (string=? logopixmap "")))
|
||||
;; check for logo image file name non blank
|
||||
(gnc:html-table-set-cell!
|
||||
t 0 0
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-img logopixmap))) )
|
||||
|
||||
(if (and headpixmap
|
||||
(not (string=? headpixmap "")))
|
||||
;; check for header image file name nonblank
|
||||
(gnc:html-table-set-cell!
|
||||
t 0 1
|
||||
(gnc:make-html-text
|
||||
(gnc:html-markup-img headpixmap))) )
|
||||
|
||||
(apply
|
||||
gnc:html-table-set-cell!
|
||||
t 2 1
|
||||
@@ -308,7 +314,7 @@
|
||||
ssdoc))
|
||||
|
||||
(gnc:define-html-style-sheet
|
||||
'version 1
|
||||
'version 1.01
|
||||
'name (N_ "Fancy")
|
||||
'renderer fancy-renderer
|
||||
'options-generator fancy-options)
|
||||
|
||||
Reference in New Issue
Block a user