Commit a5e6f434 authored by Philipp Hörist's avatar Philipp Hörist

MUC: Fix invisible event icon on private message

parent 0f340547
......@@ -1297,10 +1297,10 @@ def on_private_message(self, nick, sent, msg, tim, xhtml, session, msg_log_id=No
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 = \
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment