Fix CanvasIcon badges

This commit is contained in:
Marco Pesenti Gritti 2007-08-26 14:33:16 +02:00
parent 5f773b21af
commit 7042b4392e

View File

@ -428,6 +428,7 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem):
elif pspec.name == 'cache-size': elif pspec.name == 'cache-size':
self._buffer.cache_size = value self._buffer.cache_size = value
elif pspec.name == 'badge-name': elif pspec.name == 'badge-name':
self._buffer.badge_name = value
self.emit_paint_needed(0, 0, -1, -1) self.emit_paint_needed(0, 0, -1, -1)
def do_get_property(self, pspec): def do_get_property(self, pspec):