always open chat window when we di middle click on a contact

This commit is contained in:
Yann Leboulanger 2007-04-29 21:18:07 +00:00
parent 7cbd1e3a0c
commit ca271411be
1 changed files with 1 additions and 1 deletions

View File

@ -2872,7 +2872,7 @@ class RosterWindow:
self.tree.get_selection().select_path(path)
type_ = model[path][C_TYPE]
if type_ in ('agent', 'contact', 'self_contact'):
self.on_roster_treeview_row_activated(widget, path)
self.on_row_activated(widget, path)
elif type_ == 'account':
account = model[path][C_ACCOUNT].decode('utf-8')
if account != 'all':