UI Elements do not go through register_factory
[gregoa/zavai.git] / zavai / registry.py
index 63e9412d07ef89506fde50f19adedf568b168763..2e4781ca9b5ac9fd8b4213d759282be4eef13795 100644 (file)
@@ -72,9 +72,6 @@ class Registry(object):
         self.factories[name] = fac
         if label is not None: self.labels[name] = label
 
-        if name.startswith("menu."):
-            self.add_to_menu(name)
-
     def register_action(self, name, obj):
         """Register an object at the given path.