always open chat window when we di middle click on a contact
This commit is contained in:
parent
7cbd1e3a0c
commit
ca271411be
|
@ -2872,7 +2872,7 @@ class RosterWindow:
|
||||||
self.tree.get_selection().select_path(path)
|
self.tree.get_selection().select_path(path)
|
||||||
type_ = model[path][C_TYPE]
|
type_ = model[path][C_TYPE]
|
||||||
if type_ in ('agent', 'contact', 'self_contact'):
|
if type_ in ('agent', 'contact', 'self_contact'):
|
||||||
self.on_roster_treeview_row_activated(widget, path)
|
self.on_row_activated(widget, path)
|
||||||
elif type_ == 'account':
|
elif type_ == 'account':
|
||||||
account = model[path][C_ACCOUNT].decode('utf-8')
|
account = model[path][C_ACCOUNT].decode('utf-8')
|
||||||
if account != 'all':
|
if account != 'all':
|
||||||
|
|
Loading…
Reference in New Issue