From 4ecedd6148a2d062da54b46e03133773dc9fc778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 4 May 2013 14:30:14 +0000 Subject: [PATCH] 6672: Gallery: 'TreePath' object does not support indexing; it also works with pygobject 3.3.2 svn: r22162 --- gramps/gui/editors/displaytabs/gallerytab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/editors/displaytabs/gallerytab.py b/gramps/gui/editors/displaytabs/gallerytab.py index 155107d85..522347312 100644 --- a/gramps/gui/editors/displaytabs/gallerytab.py +++ b/gramps/gui/editors/displaytabs/gallerytab.py @@ -481,7 +481,7 @@ class GalleryTab(ButtonTab, DbGUIElement): data = self.iconlist.get_dest_item_at_pos(x, y) if data: (path, pos) = data - row = path[0] + row = path.get_indices()[0] if pos == Gtk.ICON_VIEW_DROP_LEFT: row = max(row, 0)