예제 #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
예제 #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
예제 #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
예제 #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