From 9f925c236e6343a1c401feba6c0c10d95bcd2be0 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 23 Jun 2005 18:41:47 +0000 Subject: [PATCH] no need to add these events --- src/groupchat_window.py | 4 ---- src/tabbed_chat_window.py | 4 ---- 2 files changed, 8 deletions(-) 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'),