fix banner context menu

This commit is contained in:
Denis Fomin 2013-01-07 00:20:18 +04:00
parent 6e278b40fc
commit da692fff54
1 changed files with 2 additions and 1 deletions

View File

@ -789,8 +789,9 @@ class MessageWindow(object):
def popup_menu(self, event): def popup_menu(self, event):
menu = self.get_active_control().prepare_context_menu() menu = self.get_active_control().prepare_context_menu()
# show the menu # show the menu
menu.popup(None, None, None, None, event.button, event.time) menu.attach_to_widget(gajim.interface.roster.window, None)
menu.show_all() menu.show_all()
menu.popup(None, None, None, None, event.button, event.time)
def _on_notebook_switch_page(self, notebook, page, page_num): def _on_notebook_switch_page(self, notebook, page, page_num):
old_no = notebook.get_current_page() old_no = notebook.get_current_page()