--- a/src/pyams_content/zmi/viewlet/toplinks/__init__.py Fri Nov 10 12:07:43 2017 +0100
+++ b/src/pyams_content/zmi/viewlet/toplinks/__init__.py Tue Nov 14 14:05:30 2017 +0100
@@ -17,7 +17,7 @@
# import interfaces
from hypatia.interfaces import ICatalog
-from pyams_content.shared.common.interfaces import ISharedTool, ISharedSite
+from pyams_content.shared.common.interfaces import IBaseSharedTool, ISharedSite
from pyams_content.zmi.interfaces import IUserAddingsMenuLabel
from pyams_i18n.interfaces import II18n
from pyams_skin.interfaces.viewlet import ITopLinksViewletManager
@@ -68,7 +68,7 @@
def update(self):
super(SharedToolsMenu, self).update()
registry = get_local_registry()
- for tool in sorted(registry.getAllUtilitiesRegisteredFor(ISharedTool),
+ for tool in sorted(registry.getAllUtilitiesRegisteredFor(IBaseSharedTool),
key=lambda x: II18n(x).query_attribute('title', request=self.request) or ''):
if ISharedSite.providedBy(tool):
continue