MUC: Fix invisible event icon on private message
This commit is contained in:
parent
0f34054774
commit
a5e6f4341e
1 changed files with 4 additions and 4 deletions
|
@ -1297,10 +1297,10 @@ class GroupchatControl(ChatControlBase):
|
||||||
if not autopopup or (not autopopupaway and \
|
if not autopopup or (not autopopupaway and \
|
||||||
app.connections[self.account].connected > 2):
|
app.connections[self.account].connected > 2):
|
||||||
if no_queue: # We didn't have a queue: we change icons
|
if no_queue: # We didn't have a queue: we change icons
|
||||||
state_images = \
|
icon_name = gtkgui_helpers.get_iconset_name_for('event')
|
||||||
app.interface.roster.get_appropriate_state_images(
|
surface = Gtk.IconTheme.get_default().load_surface(
|
||||||
self.room_jid, icon_name='event')
|
icon_name, 16, self.scale_factor, None, 0)
|
||||||
image = state_images['event']
|
image = Gtk.Image.new_from_surface(surface)
|
||||||
self.model[iter_][Column.IMG] = image
|
self.model[iter_][Column.IMG] = image
|
||||||
if self.parent_win:
|
if self.parent_win:
|
||||||
self.parent_win.show_title()
|
self.parent_win.show_title()
|
||||||
|
|
Loading…
Add table
Reference in a new issue