diff --git a/src/chat.py b/src/chat.py index e8b690549..82585f1f5 100644 --- a/src/chat.py +++ b/src/chat.py @@ -243,7 +243,6 @@ class Chat: # show the menu menu.popup(None, None, None, event.button, event.time) menu.show_all() - menu.reposition() def on_chat_notebook_switch_page(self, notebook, page, page_num): new_child = notebook.get_nth_page(page_num) @@ -698,7 +697,6 @@ class Chat: childs[1].hide() # open link in browser menu.popup(None, None, None, event.button, event.time) - menu.reposition() def hyperlink_handler(self, texttag, widget, event, iter, kind): if event.type == gtk.gdk.BUTTON_PRESS: diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 4ae14201e..632720e9d 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -792,7 +792,6 @@ class GroupchatWindow(chat.Chat): menu = xml.get_widget('gc_occupants_menu') menu.popup(None, None, None, event.button, event.time) menu.show_all() - menu.reposition() def remove_tab(self, room_jid): if time.time() - gajim.last_message_time[self.account][room_jid] < 2: diff --git a/src/systray.py b/src/systray.py index 965c95ed4..595cdc589 100644 --- a/src/systray.py +++ b/src/systray.py @@ -191,7 +191,6 @@ class Systray: self.systray_context_menu.popup(None, None, None, event.button, event.time) self.systray_context_menu.show_all() - self.systray_context_menu.reposition() def on_preferences_menuitem_activate(self, widget): if self.plugin.windows['preferences'].window.get_property('visible'):