From 21adfc17793a3d76e1d9b1c4e90636d96f280355 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Sat, 4 Feb 2006 20:36:56 +0000 Subject: [PATCH] Dave Herman's patch to fix #327630 by copying missing "function" (gnc:html-document-set-style!) from the plain to both the "fancy" and "easy" stylesheets. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13100 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 6 ++++++ src/report/stylesheets/stylesheet-easy.scm | 10 ++++++++++ src/report/stylesheets/stylesheet-fancy.scm | 10 ++++++++++ 3 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index 92930a2747..b5444ec7d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-02-04 David Hampton + * src/report/stylesheets/stylesheet-fancy.scm: + * src/report/stylesheets/stylesheet-easy.scm: Dave Herman's + patch to fix #327630 by copying missing + "function" (gnc:html-document-set-style!) from the plain to both + the "fancy" and "easy" stylesheets. + * src/gnome-utils/gnc-tree-view-commodity.c: * src/gnome-utils/gnc-tree-view-price.c: * src/gnome-utils/gnc-tree-view-account.c: diff --git a/src/report/stylesheets/stylesheet-easy.scm b/src/report/stylesheets/stylesheet-easy.scm index e95f5747fa..697b60d0f8 100644 --- a/src/report/stylesheets/stylesheet-easy.scm +++ b/src/report/stylesheets/stylesheet-easy.scm @@ -220,6 +220,16 @@ 'attribute (list "bgcolor" bgcolor) 'attribute (list "text" textcolor) 'attribute (list "link" linkcolor)) +;;;; +;;;; +;;;; + (gnc:html-document-set-style! + ssdoc "number-header" + 'tag "th" + 'attribute (list "align" "right")) +;;;; +;;;; +;;;; (gnc:html-document-set-style! ssdoc "number-cell" diff --git a/src/report/stylesheets/stylesheet-fancy.scm b/src/report/stylesheets/stylesheet-fancy.scm index 5e89a25ec3..fe2d68909d 100644 --- a/src/report/stylesheets/stylesheet-fancy.scm +++ b/src/report/stylesheets/stylesheet-fancy.scm @@ -194,6 +194,16 @@ 'attribute (list "text" textcolor) 'attribute (list "link" linkcolor)) +;;;; +;;;; +;;;; + (gnc:html-document-set-style! + ssdoc "number-header" + 'tag "th" + 'attribute (list "align" "right")) +;;;; +;;;; +;;;; (gnc:html-document-set-style! ssdoc "number-cell" 'tag "td"