6672: Gallery: 'TreePath' object does not support indexing; it also works with pygobject 3.3.2
svn: r22162
This commit is contained in:
parent
0509177b08
commit
4ecedd6148
@ -481,7 +481,7 @@ class GalleryTab(ButtonTab, DbGUIElement):
|
|||||||
data = self.iconlist.get_dest_item_at_pos(x, y)
|
data = self.iconlist.get_dest_item_at_pos(x, y)
|
||||||
if data:
|
if data:
|
||||||
(path, pos) = data
|
(path, pos) = data
|
||||||
row = path[0]
|
row = path.get_indices()[0]
|
||||||
|
|
||||||
if pos == Gtk.ICON_VIEW_DROP_LEFT:
|
if pos == Gtk.ICON_VIEW_DROP_LEFT:
|
||||||
row = max(row, 0)
|
row = max(row, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user