6112: use get_indices method on TreePath for "old" Gtk version (e.g, 3.6.1)
svn: r20904
This commit is contained in:
parent
a2b941140c
commit
62e56c09ac
@ -250,7 +250,7 @@ def update_rows(model, path, iter, user_data):
|
||||
"""
|
||||
#path: (8,) iter: <GtkTreeIter at 0xbfa89fa0>
|
||||
#path: (8, 0) iter: <GtkTreeIter at 0xbfa89f60>
|
||||
if len(path) == 2:
|
||||
if len(path.get_indices()) == 2:
|
||||
row = model[path]
|
||||
row[0] = user_data
|
||||
model.row_changed(path, iter)
|
||||
|
Loading…
Reference in New Issue
Block a user