AUDIT: r23513 - gnucash/trunk/src/report/stylesheets - Fix report background image loading on Windows
Geert Janssens
gjanssens at code.gnucash.org
Sun Dec 8 08:48:31 EST 2013
Author: gjanssens
Date: 2013-12-08 08:48:31 -0500 (Sun, 08 Dec 2013)
New Revision: 23513
Trac: http://svn.gnucash.org/trac/changeset/23513
Modified:
gnucash/trunk/src/report/stylesheets/stylesheet-easy.scm
gnucash/trunk/src/report/stylesheets/stylesheet-fancy.scm
gnucash/trunk/src/report/stylesheets/stylesheet-footer.scm
gnucash/trunk/src/report/stylesheets/stylesheet-plain.scm
Log:
Fix report background image loading on Windows
BP
Modified: gnucash/trunk/src/report/stylesheets/stylesheet-easy.scm
===================================================================
--- gnucash/trunk/src/report/stylesheets/stylesheet-easy.scm 2013-12-07 23:30:18 UTC (rev 23512)
+++ gnucash/trunk/src/report/stylesheets/stylesheet-easy.scm 2013-12-08 13:48:31 UTC (rev 23513)
@@ -368,7 +368,7 @@
(not (string=? bgpixmap "")))
(gnc:html-document-set-style!
ssdoc "body"
- 'attribute (list "background" bgpixmap)))
+ 'attribute (list "background" (make-file-url bgpixmap))))
(gnc:html-document-set-style!
ssdoc "table"
Modified: gnucash/trunk/src/report/stylesheets/stylesheet-fancy.scm
===================================================================
--- gnucash/trunk/src/report/stylesheets/stylesheet-fancy.scm 2013-12-07 23:30:18 UTC (rev 23512)
+++ gnucash/trunk/src/report/stylesheets/stylesheet-fancy.scm 2013-12-08 13:48:31 UTC (rev 23513)
@@ -363,7 +363,7 @@
(not (string=? bgpixmap "")))
(gnc:html-document-set-style!
ssdoc "body"
- 'attribute (list "background" bgpixmap)))
+ 'attribute (list "background" (make-file-url bgpixmap))))
(gnc:html-document-set-style!
ssdoc "table"
Modified: gnucash/trunk/src/report/stylesheets/stylesheet-footer.scm
===================================================================
--- gnucash/trunk/src/report/stylesheets/stylesheet-footer.scm 2013-12-07 23:30:18 UTC (rev 23512)
+++ gnucash/trunk/src/report/stylesheets/stylesheet-footer.scm 2013-12-08 13:48:31 UTC (rev 23513)
@@ -382,7 +382,7 @@
(not (string=? bgpixmap "")))
(gnc:html-document-set-style!
ssdoc "body"
- 'attribute (list "background" bgpixmap)))
+ 'attribute (list "background" (make-file-url bgpixmap))))
(gnc:html-document-set-style!
ssdoc "table"
Modified: gnucash/trunk/src/report/stylesheets/stylesheet-plain.scm
===================================================================
--- gnucash/trunk/src/report/stylesheets/stylesheet-plain.scm 2013-12-07 23:30:18 UTC (rev 23512)
+++ gnucash/trunk/src/report/stylesheets/stylesheet-plain.scm 2013-12-08 13:48:31 UTC (rev 23513)
@@ -115,7 +115,7 @@
(not (string=? bgpixmap "")))
(gnc:html-document-set-style!
ssdoc "body"
- 'attribute (list "background" bgpixmap)))
+ 'attribute (list "background" (make-file-url bgpixmap))))
(gnc:html-document-set-style!
ssdoc "table"
More information about the gnucash-changes
mailing list