diff options
Diffstat (limited to 'tests/test-spread-box.py')
-rwxr-xr-x | tests/test-spread-box.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-spread-box.py b/tests/test-spread-box.py index a5da735..0f138cc 100755 --- a/tests/test-spread-box.py +++ b/tests/test-spread-box.py @@ -31,13 +31,13 @@ from sugar.graphics.iconcolor import IconColor from sugar.graphics.canvasicon import CanvasIcon def _create_icon(): - color = IconColor() + color = IconColor() - icon = CanvasIcon(size=100, color=color, - icon_name='stock-buddy') - box.add_item(icon) + icon = CanvasIcon(size=100, color=color, + icon_name='stock-buddy') + box.add_item(icon) - return (len(box.get_children()) < 20) + return (len(box.get_children()) < 20) window = gtk.Window() window.connect("destroy", lambda w: gtk.main_quit()) |