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

use set_active_tab in a place we did not [liorithel]

parent 92167a98
No related branches found
No related tags found
No related merge requests found
......@@ -115,9 +115,11 @@ def set_status(self, status):
def start_chat(self, widget, account, jid):
if self.plugin.windows[account]['chats'].has_key(jid):
self.plugin.windows[account]['chats'][jid].window.present()
self.plugin.windows[account]['chats'][jid].set_active_tab(jid)
elif self.plugin.roster.contacts[account].has_key(jid):
self.plugin.roster.new_chat(
self.plugin.roster.contacts[account][jid][0], account)
self.plugin.windows[account]['chats'][jid].set_active_tab(jid)
def on_new_message_menuitem_activate(self, widget, account):
"""When new message menuitem is activated:
......
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