From c0ece2bf42ec6cd0da6863ba03c89e1ab8bc2263 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 16 Nov 2005 10:06:31 +0000 Subject: [PATCH] make it work for GC too --- src/chat.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/chat.py b/src/chat.py index 93798c0f6..37a847599 100644 --- a/src/chat.py +++ b/src/chat.py @@ -358,13 +358,12 @@ class Chat: 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 @@ class Chat: # 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)