Update the color property name
This commit is contained in:
parent
14c9c55731
commit
825758018d
@ -21,8 +21,8 @@ class IconCache(gobject.GObject):
|
|||||||
icon_file.close()
|
icon_file.close()
|
||||||
|
|
||||||
if color != None:
|
if color != None:
|
||||||
style = '.icon-color {fill: %s;}' % color
|
style = '.fill-color {fill: %s;}' % color
|
||||||
data = re.sub('\.icon-color \{.*\}', style, data)
|
data = re.sub('\.fill-color \{.*\}', style, data)
|
||||||
|
|
||||||
loader = gtk.gdk.pixbuf_loader_new_with_mime_type('image/svg-xml')
|
loader = gtk.gdk.pixbuf_loader_new_with_mime_type('image/svg-xml')
|
||||||
loader.set_size(size, size)
|
loader.set_size(size, size)
|
||||||
|
Loading…
Reference in New Issue
Block a user