fix buttons popup menu

This commit is contained in:
Denis Fomin 2013-07-30 20:05:28 +04:00
parent 2205bda1c8
commit 1b9e079826
1 changed files with 2 additions and 0 deletions

View File

@ -1162,6 +1162,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
menu.append(item)
menu.show_all()
menu.attach_to_widget(widget, None)
gtkgui_helpers.popup_emoticons_under_button(menu, widget,
self.parent_win)
@ -1183,6 +1184,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
"""
menu = self.prepare_context_menu(hide_buttonbar_items=True)
menu.show_all()
menu.attach_to_widget(widget, None)
gtkgui_helpers.popup_emoticons_under_button(menu, widget,
self.parent_win)