Fix
This commit is contained in:
1 parent
a8cf797c1c
commit
7017d38c8b
1 file changed
+4
-4
+4
-4
@@ -506,7 +506,8 @@ class Weather(Box):
|
|||||||
self.condition_em.set_label(emoji)
|
self.condition_em.set_label(emoji)
|
||||||
self.parent.set_visible(True)
|
self.parent.set_visible(True)
|
||||||
|
|
||||||
class WeatherContainer(Box):
|
|
||||||
|
class WeatherContainer(Box):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
orientation="v",
|
orientation="v",
|
||||||
@@ -516,12 +517,13 @@ class Weather(Box):
|
|||||||
visible=False,
|
visible=False,
|
||||||
h_align="center",
|
h_align="center",
|
||||||
children=[
|
children=[
|
||||||
Weather(),
|
Weather(self),
|
||||||
],
|
],
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
self.add(WeatherWidget())
|
self.add(WeatherWidget())
|
||||||
|
|
||||||
|
|
||||||
class Date(Box):
|
class Date(Box):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
@@ -545,8 +547,6 @@ class Date(Box):
|
|||||||
self.add(self.datethree)
|
self.add(self.datethree)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Deskwidgets(Window):
|
class Deskwidgets(Window):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
config = load_config()
|
config = load_config()
|
||||||
|
|||||||
Reference in new issue
Block a user