prevent TB in cell_renderer_pixbuf. fixes #3544
This commit is contained in:
parent
cbedeb9839
commit
b40d8a5fe5
|
@ -94,6 +94,8 @@ class CellRendererImage(gtk.GenericCellRenderer):
|
|||
|
||||
if self.image.get_storage_type() == gtk.IMAGE_ANIMATION:
|
||||
if self.image not in self.iters:
|
||||
if not isinstance(widget, gtk.TreeView):
|
||||
return
|
||||
animation = self.image.get_animation()
|
||||
iter = animation.get_iter()
|
||||
self.iters[self.image] = iter
|
||||
|
|
Loading…
Reference in New Issue