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


Commits:
08ebb3ba by Philipp Hörist at 2024-11-10T13:21:41+01:00
fix: Fix adding empty css class

- - - - -


1 changed file:

- gajim/gtk/omemo_trust_manager.py


Changes:

=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -424,8 +424,10 @@ def __init__(
         box.set_spacing(6)
 
         image = Gtk.Image.new_from_icon_name(icon)
+        if color:
+            image.add_css_class(color)
+
         label = Gtk.Label(label=label_text)
-        image.add_css_class(color)
 
         box.append(image)
         box.append(label)



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

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