Update the color property name

This commit is contained in:
Marco Pesenti Gritti 2006-08-18 19:36:36 +02:00
parent 14c9c55731
commit 825758018d

View File

@ -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)