From 04baa6b50ff637d67a92238d7c549eba177d9d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 31 Dec 2012 13:39:32 +0000 Subject: [PATCH] 6112: use get_indices method on TreePath for "old" Gtk version (e.g, 3.6.1) svn: r20903 --- gramps/gui/viewmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index f1b85d806..78fc86b39 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -250,7 +250,7 @@ def update_rows(model, path, iter, user_data): """ #path: (8,) iter: #path: (8, 0) iter: - if len(path) == 2: + if len(path.get_indices()) == 2: row = model[path] row[0] = user_data model.row_changed(path, iter)