no need to add these events
This commit is contained in:
parent
b496ae3498
commit
9f925c236e
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue