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


Commits:
a61f49fb by wurstsalat at 2026-03-21T23:11:38+01:00
fix: Windows: Show Gajim icon in header bar

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -10,6 +10,7 @@
 from typing import TYPE_CHECKING
 
 import logging
+import sys
 
 from gi.repository import Adw
 from gi.repository import Gdk
@@ -235,6 +236,9 @@ def _mark_workspace_as_read(
             self.mark_workspace_as_read(workspace_id)
 
     def _prepare_window(self) -> None:
+        if sys.platform == "win32":
+            
self._header_bar.set_decoration_layout("icon:minimize,maximize,close")
+
         window_width = app.settings.get("mainwin_width")
         window_height = app.settings.get("mainwin_height")
         resize_window(self, window_width, window_height)



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a61f49fb0409833889cc27974d60a81b35ac8f79
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