Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5fdb76d0 by Philipp Hörist at 2019-06-12T16:04:16Z
ConsistentColors: Fix background argument
- - - - -
1 changed file:
- gajim/gtk/util.py
Changes:
=====================================
gajim/gtk/util.py
=====================================
@@ -646,7 +646,7 @@ class MaxWidthComboBoxText(Gtk.ComboBoxText):
def text_to_color(text):
if app.css_config.prefer_dark:
- background = (1, 1, 1)
+ background = (0, 0, 0) # RGB (0, 0, 0) black
else:
- background = (0, 0, 0)
+ background = (1, 1, 1) # RGB (255, 255, 255) white
return nbxmpp.util.text_to_color(text, background)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/5fdb76d02a12aa1a475143a8f06e848facd83c4f
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/5fdb76d02a12aa1a475143a8f06e848facd83c4f
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits