diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py index cd0e4854..d22b412c 100644 --- a/src/sugar/graphics/icon.py +++ b/src/sugar/graphics/icon.py @@ -508,7 +508,7 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem): self._buffer.badge_name = value self.emit_paint_needed(0, 0, -1, -1) - def get_badge_name(self, value): + def get_badge_name(self): return self._buffer.badge_name badge_name = gobject.property(