From e1b4bc44c0ca026d5aa41bd2eb8dbb33245197db Mon Sep 17 00:00:00 2001 From: wurstsalat Date: Tue, 7 Nov 2023 23:03:39 +0100 Subject: cfix: Fix contrast of decorative Gajim symbolic background icon --- gajim/gtk/accounts.py | 2 +- 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…')) -- cgit v1.2.3