middle click on self contact row now works
This commit is contained in:
parent
b3b3431072
commit
9e0b336c40
|
@ -1796,7 +1796,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
iter = model.get_iter(path)
|
iter = model.get_iter(path)
|
||||||
type = model[iter][C_TYPE]
|
type = model[iter][C_TYPE]
|
||||||
if type in ('agent', 'contact'):
|
if type in ('agent', 'contact', 'self_contact'):
|
||||||
self.on_roster_treeview_row_activated(widget, path)
|
self.on_roster_treeview_row_activated(widget, path)
|
||||||
elif type == 'account':
|
elif type == 'account':
|
||||||
account = model[iter][C_ACCOUNT].decode('utf-8')
|
account = model[iter][C_ACCOUNT].decode('utf-8')
|
||||||
|
|
Loading…
Reference in New Issue