use set_active_tab in a place we did not [liorithel]

This commit is contained in:
Nikos Kouremenos 2005-06-18 11:41:29 +00:00
parent 92167a98f7
commit d3183f10dd
1 changed files with 2 additions and 0 deletions

View File

@ -115,9 +115,11 @@ class Systray:
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: