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


Commits:
552f365f by wurstsalat at 2024-10-02T21:51:24+02:00
Disable GtkStatusIcon

- - - - -


1 changed file:

- gajim/gtk/status_icon.py


Changes:

=====================================
gajim/gtk/status_icon.py
=====================================
@@ -56,14 +56,15 @@ def __init__(self) -> None:
                                         self._on_setting_changed)
             self._backend = AppIndicatorIcon()
             log.info('Use AppIndicator3 backend')
-        elif app.is_display(Display.WAYLAND):
+        # elif app.is_display(Display.WAYLAND):
+        else:
             self._backend = NoneBackend()
             log.info('libappindicator not found or disabled')
-        else:
-            app.settings.connect_signal('show_trayicon',
-                                        self._on_setting_changed)
-            self._backend = GtkStatusIcon()
-            log.info('Use GtkStatusIcon backend')
+        # else:
+        #     app.settings.connect_signal('show_trayicon',
+        #                                 self._on_setting_changed)
+        #     self._backend = GtkStatusIcon()
+        #     log.info('Use GtkStatusIcon backend')
 
     @staticmethod
     def _can_use_libindicator() -> bool:



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

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


_______________________________________________
Commits mailing list -- commits@gajim.org
To unsubscribe send an email to commits-le...@gajim.org

Reply via email to