[Gnucash-changes] Didier Vidal's patch to restore horizontal scrolling in the editable

David Hampton hampton at cvs.gnucash.org
Sun Oct 16 16:17:11 EDT 2005


Log Message:
-----------
Didier Vidal's patch to restore horizontal scrolling in the editable
cells of the register if the content is too wide. It also maintains
the cell alignment when you switch to edit mode.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/report/report-system:
        html-style-sheet.scm

Revision Data
-------------
Index: html-style-sheet.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/report/report-system/html-style-sheet.scm,v
retrieving revision 1.1.6.1
retrieving revision 1.1.6.2
diff -Lsrc/report/report-system/html-style-sheet.scm -Lsrc/report/report-system/html-style-sheet.scm -u -r1.1.6.1 -r1.1.6.2
--- src/report/report-system/html-style-sheet.scm
+++ src/report/report-system/html-style-sheet.scm
@@ -128,7 +128,7 @@
 (define (gnc:save-style-sheet-options) 
   (let ((port (false-if-exception
                (open gnc:current-saved-stylesheets
-                     (logior O_WRONLY O_CREAT)))))
+                     (logior O_WRONLY O_CREAT O_TRUNC)))))
     (if (not port)
         (gnc:warn (_ "Can't save style sheet"))
         (begin


More information about the gnucash-changes mailing list