[Gnucash-changes] r13016 - gnucash/trunk - Maintain the html-document title while rendering so the progress bar is setup with the right name. Bug#327650.

Joshua Sled jsled at cvs.gnucash.org
Sat Jan 28 19:19:09 EST 2006


Author: jsled
Date: 2006-01-28 19:19:09 -0500 (Sat, 28 Jan 2006)
New Revision: 13016
Trac: http://svn.gnucash.org/trac/changeset/13016

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/report/report-system/html-style-sheet.scm
Log:
Maintain the html-document title while rendering so the progress bar is setup with the right name. Bug#327650.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-01-29 00:18:46 UTC (rev 13015)
+++ gnucash/trunk/ChangeLog	2006-01-29 00:19:09 UTC (rev 13016)
@@ -1,5 +1,12 @@
 2006-01-28  Joshua Sled  <jsled at asynchronous.org>
 
+	* src/report/report-system/html-style-sheet.scm
+	(gnc:html-style-sheet-render): Maintain the html-document title
+	while rendering so the progress bar is setup with the right name.
+	Bug#327650.
+
+2006-01-28  Joshua Sled  <jsled at asynchronous.org>
+
 	* src/gnome/gnc-split-reg.c: Remove a lot of dead code.
 	(gnc_split_reg_new): Remove create-flags and
 	disallowed-cap[abilitie]s; add simple "read-only" flag.

Modified: gnucash/trunk/src/report/report-system/html-style-sheet.scm
===================================================================
--- gnucash/trunk/src/report/report-system/html-style-sheet.scm	2006-01-29 00:18:46 UTC (rev 13015)
+++ gnucash/trunk/src/report/report-system/html-style-sheet.scm	2006-01-29 00:19:09 UTC (rev 13016)
@@ -235,6 +235,8 @@
                  doc))
         (headers? (if (null? rest) #f (if (car rest) #t #f))))
 
+    (gnc:html-document-set-title! newdoc (gnc:html-document-title doc))
+    
     ;; push the style sheet's default styles 
     (gnc:html-document-push-style newdoc (gnc:html-style-sheet-style sheet))
     



More information about the gnucash-changes mailing list