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:
David Hampton
2006-01-30 01:56:13 +00:00
parent d9f937a004
commit c98c4d9794
2 changed files with 22 additions and 11 deletions

View File

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

View File

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