Beispiel #1
0
 def get_thumbnail(self, width, height):
     if self.image:
         return icons.get_pixbuf_from_data(self.image, width, height)
     return GroupingLeaf.get_thumbnail(self, width, height)
Beispiel #2
0
 def get_thumbnail(self, width, height):
     if self.image:
         return icons.get_pixbuf_from_data(self.image, width, height)
     return GroupingLeaf.get_thumbnail(self, width, height)
Beispiel #3
0
 def __init__(self, obj, name, image=None):
     self.image = image
     GroupingLeaf.__init__(self, obj, name)
Beispiel #4
0
 def __init__(self, obj, name, image=None):
     self.image = image
     GroupingLeaf.__init__(self, obj, name)