Fix (API changes)

This commit is contained in:
Marco Pesenti Gritti 2007-04-15 01:03:36 +02:00
parent 845575c708
commit a2de1f7f3f

View File

@ -33,15 +33,15 @@ from sugar.graphics.canvasicon import CanvasIcon
def _create_snowflake(parent, children):
color = XoColor()
icon = CanvasIcon(size=40, xo_color=color,
icon_name='activity-groupchat')
icon = CanvasIcon(scale=0.5, xo_color=color,
icon_name='theme:object-link')
parent.append(icon, hippo.PACK_FIXED)
parent.set_root(icon)
for i in range(0, children):
color = XoColor()
icon = CanvasIcon(size=60, xo_color=color,
icon_name='stock-buddy')
icon = CanvasIcon(scale=1.0, xo_color=color,
icon_name='theme:stock-buddy')
parent.append(icon, hippo.PACK_FIXED)
window = gtk.Window()