mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
names: Split app initialization
Tests: - When domain name is changed in config module. The updated names shows up in the names module. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
32d7ce9b38
commit
1d17ba2134
@ -56,6 +56,9 @@ class NamesApp(app_module.App):
|
|||||||
**manifest.backup)
|
**manifest.backup)
|
||||||
self.add(backup_restore)
|
self.add(backup_restore)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def post_init():
|
||||||
|
"""Perform post initialization operations."""
|
||||||
domain_added.connect(on_domain_added)
|
domain_added.connect(on_domain_added)
|
||||||
domain_removed.connect(on_domain_removed)
|
domain_removed.connect(on_domain_removed)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user