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