Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/test-spread-box.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-spread-box.py')
-rwxr-xr-xtests/test-spread-box.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test-spread-box.py b/tests/test-spread-box.py
index 6a81834..e503a45 100755
--- a/tests/test-spread-box.py
+++ b/tests/test-spread-box.py
@@ -25,7 +25,7 @@ def _create_icon():
icon_name='stock-buddy')
box.add(icon)
- return (len(box.get_children()) < 20)
+ return (len(box.get_children()) < 15)
window = gtk.Window()
window.connect("destroy", lambda w: gtk.main_quit())
@@ -35,10 +35,9 @@ canvas = hippo.Canvas()
box = SpreadBox(background_color=0xe2e2e2ff)
canvas.set_root(box)
-box.spread()
-canvas.show()
window.add(canvas)
+canvas.show()
gobject.timeout_add(500, _create_icon)