From 7042b4392effd921d502447606473031bf413ed8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 26 Aug 2007 14:33:16 +0200 Subject: [PATCH] Fix CanvasIcon badges --- sugar/graphics/icon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sugar/graphics/icon.py b/sugar/graphics/icon.py index 2fe85b2d..b3dc0349 100644 --- a/sugar/graphics/icon.py +++ b/sugar/graphics/icon.py @@ -428,6 +428,7 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem): elif pspec.name == 'cache-size': self._buffer.cache_size = value elif pspec.name == 'badge-name': + self._buffer.badge_name = value self.emit_paint_needed(0, 0, -1, -1) def do_get_property(self, pspec):