From 8c5d71981482f9408a778aacda8d59ea5049b144 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 30 Jun 2005 16:09:55 +0000 Subject: [PATCH] fix a traceback --- src/groupchat_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 2dc70fa08..73d4f284c 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -877,12 +877,12 @@ class GroupchatWindow(chat.Chat): bgcolor = gajim.config.get_per('themes', theme, 'groupbgcolor') renderer.set_property('cell-background', bgcolor) - def on_actions_button_clicked(self, button): + def on_actions_button_clicked(self, widget): """popup action menu""" menu = self.gc_popup_menu menu.get_children()[0].hide() # hide history_menuitem menu = self.remove_possible_switch_to_menuitems(menu) - menu.popup(None, None, None, event.button, event.time) + menu.popup(None, None, None, 1, 0) menu.show_all() def on_list_treeview_button_press_event(self, widget, event):