diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-11-08 01:03:39 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-11-08 01:03:39 +0300 |
commit | e1b4bc44c0ca026d5aa41bd2eb8dbb33245197db (patch) | |
tree | 85bea544d0698e36d72172ae55f20cd40b276179 | |
parent | 6767244a98172e1bf148526f72189dd4236d6ea0 (diff) |
cfix: Fix contrast of decorative Gajim symbolic background icon
-rw-r--r-- | gajim/gtk/accounts.py | 2 | ||||
-rw-r--r-- | gajim/gtk/chat_stack.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gajim/gtk/accounts.py b/gajim/gtk/accounts.py index cfb3a1764..b25874352 100644 --- a/gajim/gtk/accounts.py +++ b/gajim/gtk/accounts.py @@ -622,7 +622,7 @@ class AddNewAccountPage(Gtk.Box): self.set_margin_top(24) image = Gtk.Image.new_from_icon_name( 'org.gajim.Gajim-symbolic', Gtk.IconSize.from_name('100')) - image.get_style_context().add_class('dim-label') + image.set_opacity(0.2) self.add(image) button = Gtk.Button(label=_('Add Account')) diff --git a/gajim/gtk/chat_stack.py b/gajim/gtk/chat_stack.py index 65c163b82..24cf34b62 100644 --- a/gajim/gtk/chat_stack.py +++ b/gajim/gtk/chat_stack.py @@ -829,7 +829,7 @@ class ChatPlaceholderBox(Gtk.Box): self.set_valign(Gtk.Align.CENTER) image = Gtk.Image.new_from_icon_name( 'org.gajim.Gajim-symbolic', Gtk.IconSize.from_name('100')) - image.get_style_context().add_class('dim-label') + image.set_opacity(0.2) self.add(image) button = Gtk.Button(label=_('Start Chatting…')) |