Skip to content

Commit

Permalink
Remove unused ZMI icons and tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Aug 26, 2016
1 parent 0fb0726 commit f8e7c0b
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
4.0 (unreleased)
----------------

- Remove unused ZMI icons.

- Remove deprecated Catalog(Path)Awareness modules.

- Remove CatalogSearchArgumentsMap and support for using requests
Expand Down
9 changes: 0 additions & 9 deletions src/Products/PluginIndexes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addFieldIndexForm,
manage_addFieldIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -36,7 +35,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addKeywordIndexForm,
manage_addKeywordIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -49,7 +47,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addTopicIndexForm,
manage_addTopicIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -62,7 +59,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addDateIndexForm,
manage_addDateIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -76,7 +72,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addDateRangeIndexForm,
manage_addDateRangeIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -89,7 +84,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addPathIndexForm,
manage_addPathIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -103,7 +97,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addBooleanIndexForm,
manage_addBooleanIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -117,7 +110,6 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addUUIDIndexForm,
manage_addUUIDIndex),
icon='www/index.gif',
visibility=None,
)

Expand All @@ -131,6 +123,5 @@ def initialize(context):
permission='Add Pluggable Index',
constructors=(manage_addCompositeIndexForm,
manage_addCompositeIndex),
icon='www/index.gif',
visibility=None,
)
Binary file removed src/Products/PluginIndexes/www/index.gif
Binary file not shown.
Binary file removed src/Products/ZCatalog/Catalog.gif
Binary file not shown.
5 changes: 1 addition & 4 deletions src/Products/ZCatalog/ZCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,17 @@ class is that it is not Zope specific. You can use it in any
security.setPermissionDefault(search_zcatalog, ('Anonymous', 'Manager'))
security.declareProtected(search_zcatalog, 'all_meta_types')

meta_type = "ZCatalog"
icon = 'misc_/ZCatalog/ZCatalog.gif'
meta_type = 'ZCatalog'

manage_options = (
{'label': 'Contents', 'action': 'manage_main'},
{'label': 'Catalog', 'action': 'manage_catalogView'},
{'label': 'Properties', 'action': 'manage_propertiesForm'},
{'label': 'Indexes', 'action': 'manage_catalogIndexes'},
{'label': 'Metadata', 'action': 'manage_catalogSchema'},
{'label': 'Find Objects', 'action': 'manage_catalogFind'},
{'label': 'Advanced', 'action': 'manage_catalogAdvanced'},
{'label': 'Query Report', 'action': 'manage_catalogReport'},
{'label': 'Query Plan', 'action': 'manage_catalogPlan'},
{'label': 'Undo', 'action': 'manage_UndoForm'},
{'label': 'Security', 'action': 'manage_access'},
{'label': 'Ownership', 'action': 'manage_owner'},
)
Expand Down
1 change: 0 additions & 1 deletion src/Products/ZCatalog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ def initialize(context):
permission='Add ZCatalogs',
constructors=(ZCatalog.manage_addZCatalogForm,
ZCatalog.manage_addZCatalog),
icon='www/ZCatalog.gif',
)
Binary file removed src/Products/ZCatalog/www/ZCatalog.gif
Binary file not shown.

0 comments on commit f8e7c0b

Please sign in to comment.