fix tracebacks
This commit is contained in:
parent
b6ff150282
commit
ec6d2592e4
|
@ -3547,7 +3547,7 @@ class RosterWindow:
|
||||||
if model.iter_has_child(iter_) and self.tree.row_expanded(path):
|
if model.iter_has_child(iter_) and self.tree.row_expanded(path):
|
||||||
self.tree.collapse_row(path)
|
self.tree.collapse_row(path)
|
||||||
return True
|
return True
|
||||||
elif len(path) > 1:
|
elif path.get_depth() > 1:
|
||||||
self.tree.set_cursor(path[:-1])
|
self.tree.set_cursor(path[:-1])
|
||||||
return True
|
return True
|
||||||
elif event.keyval == Gdk.KEY_Right:
|
elif event.keyval == Gdk.KEY_Right:
|
||||||
|
|
Loading…
Reference in New Issue