Philipp Hörist pushed to branch master at gajim / gajim


Commits:
e11719e5 by Philipp Hörist at 2025-03-14T19:20:17+01:00
fix: StatusIcon: Show correct state for mute sounds option

- - - - -


1 changed file:

- gajim/gtk/status_icon.py


Changes:

=====================================
gajim/gtk/status_icon.py
=====================================
@@ -179,7 +179,7 @@ def _on_finish(self, obj: Any, res: Gio.AsyncResult) -> 
None:
             self.update_state(init=True)
 
     def _get_menu(self) -> DBusMenu:
-        toogle_state = int(app.settings.get("sounds_on"))
+        toogle_state = int(not app.settings.get("sounds_on"))
         return DBusMenu(
             items=[
                 DBusMenuItem(



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

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