menu suck when they reposition
This commit is contained in:
parent
d32f6f864a
commit
a231b1fd16
3 changed files with 0 additions and 4 deletions
|
@ -243,7 +243,6 @@ class Chat:
|
||||||
# show the menu
|
# show the menu
|
||||||
menu.popup(None, None, None, event.button, event.time)
|
menu.popup(None, None, None, event.button, event.time)
|
||||||
menu.show_all()
|
menu.show_all()
|
||||||
menu.reposition()
|
|
||||||
|
|
||||||
def on_chat_notebook_switch_page(self, notebook, page, page_num):
|
def on_chat_notebook_switch_page(self, notebook, page, page_num):
|
||||||
new_child = notebook.get_nth_page(page_num)
|
new_child = notebook.get_nth_page(page_num)
|
||||||
|
@ -698,7 +697,6 @@ class Chat:
|
||||||
childs[1].hide() # open link in browser
|
childs[1].hide() # open link in browser
|
||||||
|
|
||||||
menu.popup(None, None, None, event.button, event.time)
|
menu.popup(None, None, None, event.button, event.time)
|
||||||
menu.reposition()
|
|
||||||
|
|
||||||
def hyperlink_handler(self, texttag, widget, event, iter, kind):
|
def hyperlink_handler(self, texttag, widget, event, iter, kind):
|
||||||
if event.type == gtk.gdk.BUTTON_PRESS:
|
if event.type == gtk.gdk.BUTTON_PRESS:
|
||||||
|
|
|
@ -792,7 +792,6 @@ class GroupchatWindow(chat.Chat):
|
||||||
menu = xml.get_widget('gc_occupants_menu')
|
menu = xml.get_widget('gc_occupants_menu')
|
||||||
menu.popup(None, None, None, event.button, event.time)
|
menu.popup(None, None, None, event.button, event.time)
|
||||||
menu.show_all()
|
menu.show_all()
|
||||||
menu.reposition()
|
|
||||||
|
|
||||||
def remove_tab(self, room_jid):
|
def remove_tab(self, room_jid):
|
||||||
if time.time() - gajim.last_message_time[self.account][room_jid] < 2:
|
if time.time() - gajim.last_message_time[self.account][room_jid] < 2:
|
||||||
|
|
|
@ -191,7 +191,6 @@ class Systray:
|
||||||
|
|
||||||
self.systray_context_menu.popup(None, None, None, event.button, event.time)
|
self.systray_context_menu.popup(None, None, None, event.button, event.time)
|
||||||
self.systray_context_menu.show_all()
|
self.systray_context_menu.show_all()
|
||||||
self.systray_context_menu.reposition()
|
|
||||||
|
|
||||||
def on_preferences_menuitem_activate(self, widget):
|
def on_preferences_menuitem_activate(self, widget):
|
||||||
if self.plugin.windows['preferences'].window.get_property('visible'):
|
if self.plugin.windows['preferences'].window.get_property('visible'):
|
||||||
|
|
Loading…
Add table
Reference in a new issue