diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 4ab8e19f2..8df81ad0f 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -71,10 +71,6 @@ class GroupchatWindow(chat.Chat): self.xml.signal_connect('on_close_window_activate', self.on_close_window_activate) - # needed for popup menu - self.xml.get_widget('groupchat_window').add_events( - gtk.gdk.BUTTON_PRESS_MASK) - # get size and position from config if gajim.config.get('saveposition'): self.window.move(gajim.config.get('gc-x-position'), diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 0721a4755..e1542a091 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -60,10 +60,6 @@ class TabbedChatWindow(chat.Chat): self.xml.signal_connect('on_chat_notebook_switch_page', self.on_chat_notebook_switch_page) - # needed for popup menu - self.xml.get_widget('tabbed_chat_window').add_events( - gtk.gdk.BUTTON_PRESS_MASK) - if gajim.config.get('saveposition'): # get window position and size from config self.window.move(gajim.config.get('chat-x-position'),