Skip to content
Snippets Groups Projects
Commit 338cb7dd authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

re-add event in make_menu function in systray so we can rightclick on it

parent 7eb8a879
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ def on_new_message_menuitem_activate(self, widget, account):
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 @@ def on_clicked(self, widget, event):
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
......
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