From 338cb7dd7d4e80564740995e79b210f00a245198 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 18 May 2005 12:51:01 +0000 Subject: [PATCH] re-add event in make_menu function in systray so we can rightclick on it --- src/systray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systray.py b/src/systray.py index 64ee69220..2c8642667 100644 --- a/src/systray.py +++ b/src/systray.py @@ -112,7 +112,7 @@ class Systray: call the New_message_dialog class""" dialogs.New_message_dialog(self.plugin, account) - def make_menu(self): + def make_menu(self, event): """create chat with and new message (sub) menus/menuitems""" chat_with_menuitem = self.xml.get_widget('chat_with_menuitem') @@ -220,7 +220,7 @@ class Systray: acc['chats'][jid].set_active_tab(jid) acc['chats'][jid].window.present() if event.button == 3: # right click - self.make_menu() + self.make_menu(event) def on_online_menuitem_activate(self, widget): self.plugin.roster.status_combobox.set_active(0) # 0 is online