diff --git a/CHANGES.rst b/CHANGES.rst index e02b7ba9c8..fe669f288c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,9 @@ https://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst 5.0a1 (unreleased) ------------------ +- Restore the mistakenly removed Properties ZMI tab on Image objects + (`#706 `_) + - Fix ``OFS.Image.File.__str__`` for ``Pdata`` contents (`#711 `_) diff --git a/src/OFS/Image.py b/src/OFS/Image.py index 658b275640..357e840ccb 100644 --- a/src/OFS/Image.py +++ b/src/OFS/Image.py @@ -828,16 +828,9 @@ class Image(File): ) manage_options = ( - ( - { - 'label': 'Edit', - 'action': 'manage_main', - }, - { - 'label': 'View', - 'action': 'view_image_or_file', - } - ) + ({'label': 'Edit', 'action': 'manage_main'}, + {'label': 'View', 'action': 'view_image_or_file'}) + + PropertyManager.manage_options + RoleManager.manage_options + Item_w__name__.manage_options + Cacheable.manage_options