mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
use 'connect_with_addons' instead of 'connect_with_modules'
This commit is contained in:
parent
1f758516bd
commit
36c37f9a08
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue