mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: Drop use of module level is_essential flag
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
6f791d8806
commit
cf36a9d385
29 files changed
+45
-107
No files matched your search
@@ -13,8 +13,6 @@ from plinth.signals import post_setup
|
||||
|
||||
version = 1
|
||||
|
||||
is_essential = True
|
||||
|
||||
first_boot_steps = [
|
||||
{
|
||||
'id': 'firstboot_welcome',
|
||||
@@ -42,6 +40,12 @@ class FirstBootApp(app.App):
|
||||
def __init__(self):
|
||||
"""Create components for the app."""
|
||||
super().__init__()
|
||||
|
||||
info = app.Info(app_id=self.app_id, version=version, is_essential=True)
|
||||
self.add(info)
|
||||
|
||||
def post_init(self):
|
||||
"""Perform post initialization operations."""
|
||||
post_setup.connect(_clear_first_boot_steps)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user