*: 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:
Sunil Mohan Adapa authored and James Valleroy committed 2021-12-04 16:37:59 -05:00
1 parent 6f791d8806
commit cf36a9d385
29 files changed
+45 -107

No files matched your search

+6 -2
View File
@@ -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)