This commit is contained in:
Marco Pesenti Gritti 2007-04-12 10:53:21 +02:00
parent 894fcea9fc
commit 35139a0fd4

View File

@ -33,8 +33,8 @@ from sugar.graphics.canvasicon import CanvasIcon
def _create_icon():
color = XoColor()
icon = CanvasIcon(size=100, xo_color=color,
icon_name='stock-buddy')
icon = CanvasIcon(scale=1.0, xo_color=color,
icon_name='theme:stock-buddy')
box.add_item(icon)
return (len(box.get_children()) < 20)