From c71fff0cf0b408caafa32cf259ac42cd617e1446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knud=20Schr=C3=B8der?= <37827873+dk98174003@users.noreply.github.com> Date: Fri, 31 Oct 2025 14:58:27 +0100 Subject: [PATCH] Add files via upload --- meshtastic_client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meshtastic_client.py b/meshtastic_client.py index 1e9c802..7b30d3c 100644 --- a/meshtastic_client.py +++ b/meshtastic_client.py @@ -43,7 +43,7 @@ HOST_DEFAULT = "192.168.0.156" PORT_DEFAULT = 4403 PROJECT_PATH = pathlib.Path(__file__).parent -ICON_PATH = PROJECT_PATH / "meshtastic.png" +ICON_PATH = PROJECT_PATH / "meshtastic.ico" def _fmt_ago(epoch_seconds: Optional[float]) -> str: @@ -72,8 +72,7 @@ class MeshtasticGUI: # icon try: if ICON_PATH.exists(): - self._icon = tk.PhotoImage(file=str(ICON_PATH)) - self.root.iconphoto(True, self._icon) + self.root.iconbitmap(default=str(ICON_PATH)) except Exception as e: print("Icon load failed:", e)