From 98d3606affe9deb4f5cb7976e6922282bfe787cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 4 May 2013 14:23:23 +0000 Subject: [PATCH] 6672: Gallery: 'TreePath' object does not support indexing; it also works with pygobject 3.3.2 svn: r22161 --- 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)