use 'connect_with_addons' instead of 'connect_with_modules'

This commit is contained in:
Jakub Trllo 2024-02-06 12:34:50 +01:00
parent 1f758516bd
commit 36c37f9a08
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ class TrayPublishAddon(OpenPypeModule, IHostAddon, ITrayAction):
def on_action_trigger(self):
self.run_traypublisher()
def connect_with_modules(self, enabled_modules):
def connect_with_addons(self, enabled_modules):
"""Collect publish paths from other modules."""
publish_paths = self.manager.collect_plugin_paths()["publish"]
self.publish_paths.extend(publish_paths)

View file

@ -26,7 +26,7 @@ class LauncherAction(OpenPypeModule, ITrayAction):
def tray_start(self):
return
def connect_with_modules(self, enabled_modules):
def connect_with_addons(self, enabled_modules):
# Register actions
if not self.tray_initialized:
return

View file

@ -339,7 +339,7 @@ class TimersManager(
self.timer_stopped(None)
def connect_with_modules(self, enabled_modules):
def connect_with_addons(self, enabled_modules):
for module in enabled_modules:
connector = getattr(module, "timers_manager_connector", None)
if connector is None:

View file

@ -41,7 +41,7 @@ class WebServerModule(OpenPypeModule, ITrayService):
self.port = self.find_free_port()
self.webserver_url = None
def connect_with_modules(self, enabled_modules):
def connect_with_addons(self, enabled_modules):
if not self.server_manager:
return