[Erp5-report] r36590 fabien - /erp5/trunk/products/ERP5/Document/PDFTypeInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 25 12:49:55 CEST 2010


Author: fabien
Date: Fri Jun 25 12:49:52 2010
New Revision: 36590

URL: http://svn.erp5.org?rev=36590&view=rev
Log:
simplify list definition

Modified:
    erp5/trunk/products/ERP5/Document/PDFTypeInformation.py

Modified: erp5/trunk/products/ERP5/Document/PDFTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PDFTypeInformation.py?rev=36590&r1=36589&r2=36590&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] Fri Jun 25 12:49:52 2010
@@ -133,8 +133,8 @@ def getPropertiesCSSDict(parsed_scribus
       # defining font-size from height - 2 (this value seems to have a good
       # rendering on Mozilla and Konqueror)
       # do not match for TextArea (as it is a multiline object)
-      type_list = ['TextAreaField', 'MultiListField', 'EditorField']
-      type_list +=  ['ListBox', 'ImageField', 'MatrixBox']
+      type_list = ['TextAreaField', 'MultiListField', 'EditorField',
+          'ListBox', 'ImageField', 'MatrixBox']
       #if properties_field['type'] not in type_list:
         #if float(properties_field['size_y']) > 8.0:
           #properties_css_object_stand['font-size'] = \




More information about the Erp5-report mailing list