Adapt to the new icons

This commit is contained in:
Marco Pesenti Gritti 2006-09-24 02:11:43 +02:00
parent fc000346e4
commit 24987a8de1

View File

@ -35,13 +35,13 @@ root.add_child(item)
icon_names = [ 'stock-buddy', 'activity-groupchat', 'activity-web'] icon_names = [ 'stock-buddy', 'activity-groupchat', 'activity-web']
k = 0 k = 0
while k < 17: while k < 12:
i = 0 i = 0
while i < 23: while i < 16:
color = IconColor.IconColor() color = IconColor.IconColor()
icon_name_n = int(random.random() * len(icon_names)) icon_name_n = int(random.random() * len(icon_names))
icon = IconItem(x=i * 50 + 20, y=k * 50 + 10, icon = IconItem(x=i * 75, y=k * 75,
size=46, color=color, size=75, color=color,
icon_name=icon_names[icon_name_n]) icon_name=icon_names[icon_name_n])
root.add_child(icon) root.add_child(icon)
i += 1 i += 1