Commit 1e0e1bfe authored by Ivan Tyagov's avatar Ivan Tyagov

Use preferences for pre_converted_only the same way as with format and quality.

parent d07637d3
...@@ -178,18 +178,20 @@ ...@@ -178,18 +178,20 @@
</item> </item>
<item> <item>
<key> <string>image_pre_converted_only</string> </key> <key> <string>image_pre_converted_only</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>image_quality</string> </key> <key> <string>image_quality</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>image_resolution</string> </key> <key> <string>image_resolution</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -277,7 +279,7 @@ ...@@ -277,7 +279,7 @@
</item> </item>
<item> <item>
<key> <string>image_pre_converted_only</string> </key> <key> <string>image_pre_converted_only</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>image_quality</string> </key> <key> <string>image_quality</string> </key>
...@@ -351,7 +353,7 @@ ...@@ -351,7 +353,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredImageQuality()</string> </value> <value> <string>python: here.portal_preferences.getPreferredPreConvertedOnly()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -369,4 +371,17 @@ ...@@ -369,4 +371,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreferredImageQuality()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
4 5
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment