menu suck when they reposition

This commit is contained in:
Nikos Kouremenos 2005-07-04 21:30:35 +00:00
parent d32f6f864a
commit a231b1fd16
3 changed files with 0 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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'):