fix tracebacks

This commit is contained in:
Denis Fomin 2013-01-07 20:02:05 +04:00
parent b6ff150282
commit ec6d2592e4
1 changed files with 1 additions and 1 deletions

View File

@ -3547,7 +3547,7 @@ class RosterWindow:
if model.iter_has_child(iter_) and self.tree.row_expanded(path):
self.tree.collapse_row(path)
return True
elif len(path) > 1:
elif path.get_depth() > 1:
self.tree.set_cursor(path[:-1])
return True
elif event.keyval == Gdk.KEY_Right: