🎨 Improved internal manager storage

- Stored pipeline managers in a set
- Renamed store method to enable_manager_in_pipeline
- Simplified a bit the ugly code™ in details_window
This commit is contained in:
GeoffreyCoulaud
2023-06-16 15:38:05 +02:00
parent e694341a31
commit beba0ff1e2
3 changed files with 19 additions and 27 deletions

View File

@@ -92,8 +92,7 @@ class CartridgesApplication(Adw.Application):
shared.store.add_manager(SteamAPIManager())
shared.store.add_manager(OnlineCoverManager())
shared.store.add_manager(SGDBManager())
shared.store.manager_to_pipeline(FileManager)
shared.store.enable_manager_in_pipelines(FileManager)
# Create actions
self.create_actions(