Release 0.1.37 deployment prep

This commit is contained in:
ekklesia
2026-09-06 17:30:30 -05:00
parent 4862e29f57
commit 7f66228b9e
19 changed files with 866 additions and 79 deletions
+17 -18
View File
@@ -18,7 +18,7 @@ sys.path.insert(0, "/usr/local/lib/ekklesia-classroom")
import classroom_style as style # noqa: E402
from classroom_config import ( # noqa: E402
SHELL_SCALE,
enabled,
dock_items,
read_device_config,
scaled,
)
@@ -311,6 +311,8 @@ class ClassroomShell(Gtk.Window):
)
dock.get_style_context().add_class("dock")
items = dock_items(self.config)
dock.pack_start(
self.make_button(
"browser",
@@ -322,11 +324,7 @@ class ClassroomShell(Gtk.Window):
0,
)
if enabled(
self.config,
"DVD_ENABLED",
False,
):
if "dvd" in items:
dock.pack_start(
self.make_button(
"dvd",
@@ -342,19 +340,20 @@ class ClassroomShell(Gtk.Window):
self.start_disc_watch()
dock.pack_start(
self.make_button(
"sanctuary",
self.sanctuary_icon(),
lambda *_: notify(
"Sanctuary",
"Sanctuary live view is being prepared.",
if "live" in items:
dock.pack_start(
self.make_button(
"sanctuary",
self.sanctuary_icon(),
lambda *_: notify(
"Sanctuary",
"Sanctuary live view is being prepared.",
),
),
),
False,
False,
0,
)
False,
False,
0,
)
return dock