icon-name is a str

This commit is contained in:
Tomeu Vizoso 2009-06-22 11:59:10 +02:00
parent cd7debb52a
commit 86fae16aed

View File

@ -963,7 +963,7 @@ class CellRendererIcon(gtk.CellRendererPixbuf):
if self._buffer.icon_name != value: if self._buffer.icon_name != value:
self._buffer.icon_name = value self._buffer.icon_name = value
icon_name = gobject.property(type=object, setter=set_icon_name) icon_name = gobject.property(type=str, setter=set_icon_name)
def set_xo_color(self, value): def set_xo_color(self, value):
self._stroke_color = value.get_stroke_color() self._stroke_color = value.get_stroke_color()