[Maxim Koltsov] Set different WM_WINDOW_ROLE to different windows types (gc, chat). Fixes #6746
This commit is contained in:
parent
168e87aefd
commit
58015a37bb
|
@ -75,6 +75,8 @@ class MessageWindow(object):
|
|||
self.widget_name = 'message_window'
|
||||
self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % self.widget_name)
|
||||
self.window = self.xml.get_object(self.widget_name)
|
||||
# Set window role to differ chats from MUCs
|
||||
self.window.set_role(self.type_)
|
||||
self.notebook = self.xml.get_object('notebook')
|
||||
self.parent_paned = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue