6672: Gallery: 'TreePath' object does not support indexing; it also works with pygobject 3.3.2
svn: r22161
This commit is contained in:
parent
2b3c2190d8
commit
98d3606aff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user