Exemplo n.º 1
0
 def create_icon(self):
     icon = GdkPixbuf.Pixbuf(GdkPixbuf.Colorspace.RGB, False, 8,
                             appconsts.THUMB_WIDTH, appconsts.THUMB_HEIGHT)
     pixel = utils.gdk_color_str_to_int(self.gdk_color_str)
     icon.fill(pixel)
     self.icon = icon
Exemplo n.º 2
0
 def create_icon(self):
     icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8,
                           appconsts.THUMB_WIDTH, appconsts.THUMB_HEIGHT)
     pixel = utils.gdk_color_str_to_int(self.gdk_color_str)
     icon.fill(pixel)
     self.icon = icon
Exemplo n.º 3
0
 def create_icon(self):
     icon = GdkPixbuf.Pixbuf(GdkPixbuf.Colorspace.RGB, False, 8, appconsts.THUMB_WIDTH, appconsts.THUMB_HEIGHT)
     pixel = utils.gdk_color_str_to_int(self.gdk_color_str)
     icon.fill(pixel)
     self.icon = icon
Exemplo n.º 4
0
 def create_icon(self):
     icon = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, appconsts.THUMB_WIDTH, appconsts.THUMB_HEIGHT)
     pixel = utils.gdk_color_str_to_int(self.gdk_color_str)
     icon.fill(pixel)
     self.icon = icon