From 24987a8de122191f7d655466b080e0d0ff01a995 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 24 Sep 2006 02:11:43 +0200 Subject: [PATCH] Adapt to the new icons --- tests/test-icons.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-icons.py b/tests/test-icons.py index 3a2b47d2..ff578e0c 100755 --- a/tests/test-icons.py +++ b/tests/test-icons.py @@ -35,13 +35,13 @@ root.add_child(item) icon_names = [ 'stock-buddy', 'activity-groupchat', 'activity-web'] k = 0 -while k < 17: +while k < 12: i = 0 - while i < 23: + while i < 16: color = IconColor.IconColor() icon_name_n = int(random.random() * len(icon_names)) - icon = IconItem(x=i * 50 + 20, y=k * 50 + 10, - size=46, color=color, + icon = IconItem(x=i * 75, y=k * 75, + size=75, color=color, icon_name=icon_names[icon_name_n]) root.add_child(icon) i += 1