From fc8d44b705b731a1b0f96059eb6f9caff0223395 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Tue, 22 Apr 2008 14:05:38 +0000 Subject: [PATCH] Default values are integer type not string git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20753 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ERP5/PropertySheet/HtmlStylePreference.py | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/product/ERP5/PropertySheet/HtmlStylePreference.py b/product/ERP5/PropertySheet/HtmlStylePreference.py index 3b215d7b8a..5fe2d02147 100644 --- a/product/ERP5/PropertySheet/HtmlStylePreference.py +++ b/product/ERP5/PropertySheet/HtmlStylePreference.py @@ -123,38 +123,38 @@ class HtmlStylePreference: { 'id' : 'preferred_thumbnail_image_height', 'description' : 'The height for thumbnail image.The unit is the pixel', 'type' : 'int', - 'default' : '128', + 'default' : 128, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_thumbnail_image_width', 'description' : 'The width for thumbnail image.The unit is the pixel', 'type' : 'int', - 'default' : '128', + 'default' : 128, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_xsmall_image_height', 'description' : 'The height for thumbnail image.The unit is the pixel', 'type' : 'int', - 'default' : '200', + 'default' : 200, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_xsmall_image_width', 'description' : 'The width for xsmall image.The unit is the pixel', 'type' : 'int', - 'default' : '200', + 'default' : 200, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_small_image_height', 'description' : 'The height for small image.The unit is the pixel', 'type' : 'int', - 'default' : '320', + 'default' : 320, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_small_image_width', 'description' : 'The width for small image.The unit is the pixel', 'type' : 'int', - 'default' : '320', + 'default' : 320, 'preference' : 1, 'mode' : 'w' }, @@ -167,32 +167,32 @@ class HtmlStylePreference: { 'id' : 'preferred_medium_image_width', 'description' : 'The width for medium image.The unit is the pixel', 'type' : 'int', - 'default' : '480', + 'default' : 480, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_large_image_height', 'description' : 'The height for large image.The unit is the pixel', 'type' : 'int', - 'default' : '768', + 'default' : 768, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_large_image_width', 'description' : 'The width for large image.The unit is the pixel', 'type' : 'int', - 'default' : '768', + 'default' : 768, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_xlarge_image_height', 'description' : 'The height for xlarge image.The unit is the pixel', 'type' : 'int', - 'default' : '1024', + 'default' : 1024, 'preference' : 1, 'mode' : 'w' }, { 'id' : 'preferred_xlarge_image_width', 'description' : 'The width for xlarge image.The unit is the pixel', 'type' : 'int', - 'default' : '1024', + 'default' : 1024, 'preference' : 1, 'mode' : 'w' },) -- 2.30.9