Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
50b0bd42 by wurstsalat at 2025-07-06T08:17:58+02:00
cfix: Windows status icon: Honor initial show_trayicon setting

- - - - -


1 changed file:

- gajim/gtk/status_icon.py


Changes:

=====================================
gajim/gtk/status_icon.py
=====================================
@@ -159,7 +159,9 @@ class WindowsStatusIcon(StatusIconBackend):
     def __init__(self) -> None:
         StatusIconBackend.__init__(self)
         self._status_icon = self._create_status_icon()
-        self._status_icon.run_detached()
+
+        if app.settings.get("show_trayicon"):
+            self._status_icon.run_detached()
 
     def update_state(self, init: bool = False) -> None:
         if not init and app.window.get_total_unread_count():



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/50b0bd42509ac2d0637ba077c98b380c0d946415

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/50b0bd42509ac2d0637ba077c98b380c0d946415
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to