From cb14e4f195dd62ec82d551c3f88c66c89d38f850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 7 Mar 2008 16:27:51 +0000 Subject: [PATCH] Base_viewListModeRenderer : never display anchor column, and use the preferred list mode line count git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19754 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Base_viewListModeRenderer/listbox.xml | 15 ++++++++++----- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewListModeRenderer/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewListModeRenderer/listbox.xml index 922acaa046..62deef82fe 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewListModeRenderer/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewListModeRenderer/listbox.xml @@ -16,6 +16,7 @@ <string>lines</string> <string>search</string> <string>select</string> + <string>anchor</string> <string>list_action</string> </list> </value> @@ -99,6 +100,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>anchor</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>listbox</string> </value> @@ -108,19 +113,19 @@ <value> <string>Folder_viewContentList</string> </value> </item> <item> - <key> <string>lines</string> </key> + <key> <string>lines</string> </key> <value> <int>10</int> </value> </item> <item> - <key> <string>list_action</string> </key> + <key> <string>list_action</string> </key> <value> <string>list</string> </value> </item> <item> - <key> <string>search</string> </key> + <key> <string>search</string> </key> <value> <int>0</int> </value> </item> <item> - <key> <string>select</string> </key> + <key> <string>select</string> </key> <value> <int>1</int> </value> </item> <item> @@ -176,7 +181,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: preferences.getPreference(\'preferred_listbox_view_mode_line_count\', 15)</string> </value> + <value> <string>python: preferences.getPreference(\'preferred_listbox_list_mode_line_count\', 15)</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index a42ae079d0..af718cd15f 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -725 \ No newline at end of file +726 \ No newline at end of file -- 2.30.9