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


Commits:
050384b0 by wurstsalat at 2024-12-21T21:28:58+01:00
cfix: Preferences: Correctly finalize Themes PreferencesBox

- - - - -


1 changed file:

- gajim/gtk/preferences.py


Changes:

=====================================
gajim/gtk/preferences.py
=====================================
@@ -729,6 +729,10 @@ def __init__(self, *args: Any) -> None:
             "style-changed", ged.GUI1, self._on_style_changed
         )
 
+    def do_unroot(self) -> None:
+        app.ged.remove_event_handler("style-changed", ged.GUI1, 
self._on_style_changed)
+        PreferenceBox.do_unroot(self)
+
     @staticmethod
     def _on_app_font_size_changed(_value: float, *args: Any) -> None:
         app.css_config.apply_app_font_size()



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

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