updates
This commit is contained in:
1 file changed
+6
@@ -12,6 +12,7 @@ from modules.launcher.components import (
|
|||||||
Sh,
|
Sh,
|
||||||
TodoManager,
|
TodoManager,
|
||||||
WallpaperSelector,
|
WallpaperSelector,
|
||||||
|
WifiManager,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -33,6 +34,7 @@ class Launcher(Window):
|
|||||||
self.todo = TodoManager()
|
self.todo = TodoManager()
|
||||||
self.bluetooth = BluetoothConnections()
|
self.bluetooth = BluetoothConnections()
|
||||||
self.sh = Sh(launcher=self)
|
self.sh = Sh(launcher=self)
|
||||||
|
self.wifi = WifiManager()
|
||||||
|
|
||||||
self.stack = Stack(
|
self.stack = Stack(
|
||||||
name="launcher-content",
|
name="launcher-content",
|
||||||
@@ -49,6 +51,7 @@ class Launcher(Window):
|
|||||||
self.todo,
|
self.todo,
|
||||||
self.bluetooth,
|
self.bluetooth,
|
||||||
self.sh,
|
self.sh,
|
||||||
|
self.wifi,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -77,6 +80,7 @@ class Launcher(Window):
|
|||||||
self.todo,
|
self.todo,
|
||||||
self.bluetooth,
|
self.bluetooth,
|
||||||
self.sh,
|
self.sh,
|
||||||
|
self.wifi,
|
||||||
]:
|
]:
|
||||||
if widget == self.wallpapers:
|
if widget == self.wallpapers:
|
||||||
self.wallpapers.viewport.hide()
|
self.wallpapers.viewport.hide()
|
||||||
@@ -94,6 +98,7 @@ class Launcher(Window):
|
|||||||
"todo",
|
"todo",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
"sh",
|
"sh",
|
||||||
|
"wifi",
|
||||||
]:
|
]:
|
||||||
self.stack.remove_style_class(style)
|
self.stack.remove_style_class(style)
|
||||||
|
|
||||||
@@ -112,6 +117,7 @@ class Launcher(Window):
|
|||||||
"todo": self.todo,
|
"todo": self.todo,
|
||||||
"bluetooth": self.bluetooth,
|
"bluetooth": self.bluetooth,
|
||||||
"sh": self.sh,
|
"sh": self.sh,
|
||||||
|
"wifi": self.wifi,
|
||||||
}
|
}
|
||||||
|
|
||||||
for w in widgets.values():
|
for w in widgets.values():
|
||||||
|
|||||||
Reference in new issue
Block a user