From a5e6f4341e5c648afb2eb4dfe38348e159d2803d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 18 Dec 2018 15:36:03 +0100 Subject: [PATCH] MUC: Fix invisible event icon on private message --- gajim/groupchat_control.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gajim/groupchat_control.py b/gajim/groupchat_control.py index fc98869ed..a521696b9 100644 --- a/gajim/groupchat_control.py +++ b/gajim/groupchat_control.py @@ -1297,10 +1297,10 @@ class GroupchatControl(ChatControlBase): if not autopopup or (not autopopupaway and \ app.connections[self.account].connected > 2): if no_queue: # We didn't have a queue: we change icons - state_images = \ - app.interface.roster.get_appropriate_state_images( - self.room_jid, icon_name='event') - image = state_images['event'] + icon_name = gtkgui_helpers.get_iconset_name_for('event') + surface = Gtk.IconTheme.get_default().load_surface( + icon_name, 16, self.scale_factor, None, 0) + image = Gtk.Image.new_from_surface(surface) self.model[iter_][Column.IMG] = image if self.parent_win: self.parent_win.show_title()