Skip to content
Snippets Groups Projects
Commit c0ece2bf authored by nkour's avatar nkour
Browse files

make it work for GC too

parent 8622fc1b
No related branches found
No related tags found
No related merge requests found
......@@ -358,13 +358,12 @@ def on_compact_view_menuitem_activate(self, widget):
def on_actions_button_clicked(self, widget):
'''popup action menu'''
#FIXME: BUG http://bugs.gnome.org/show_bug.cgi?id=316786
self.button_clicked = widget
menu = self.prepare_context_menu()
menu.popup(None, None, self.position_menu_under_button, 1, 0)
menu.show_all()
menu.popup(None, None, self.position_menu_under_button, 1, 0)
def on_emoticons_button_clicked(self, widget):
'''popup emoticons menu'''
......@@ -396,7 +395,7 @@ def position_menu_under_button(self, menu):
# now move the menu above the button
y -= menu_height
# push_in is True so all menu is always inside screen
# push_in is True so all the menuitems are always inside screen
push_in = True
return (x, y, push_in)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment