mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: superclass type collision
This commit is contained in:
1 parent
3b15bf58e7
commit
2629fe254e
2 files changed
+2
-2
No files matched your search
@@ -10,5 +10,5 @@ class Icon(Gtk.Image):
|
||||
icon_name=name, icon_size=Gtk.IconSize.BUTTON, margin_start=l_margin
|
||||
)
|
||||
|
||||
def set_from_icon_name(self, name: str) -> None:
|
||||
def set_icon_name(self, name: str) -> None:
|
||||
super().set_from_icon_name(name, Gtk.IconSize.BUTTON)
|
||||
@@ -399,7 +399,7 @@ class TimePickerFrame(Gtk.Frame):
|
||||
|
||||
def update_server_icon(self) -> None:
|
||||
icon = DAY_ICON if self.server_time.is_day() else NIGHT_ICON
|
||||
self.icon_indicator.set_from_icon_name(icon)
|
||||
self.icon_indicator.set_icon_name(icon)
|
||||
|
||||
def _on_server_clock_increment(self, emitter: Emitter, time_now: datetime) -> None:
|
||||
t = time_now.time().strftime("%H:%M")
|
||||
|
||||
Reference in new issue
Block a user