From 58015a37bb55bf43aec5864db1343bef50a05572 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 24 Mar 2011 22:51:38 +0100 Subject: [PATCH] [Maxim Koltsov] Set different WM_WINDOW_ROLE to different windows types (gc, chat). Fixes #6746 --- src/message_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/message_window.py b/src/message_window.py index 637858f72..20f7baf32 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -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