diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-10 11:50:22 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-10 11:50:22 (GMT) |
commit | f43b97a2029946e2338924cda9a8843143a09b6d (patch) | |
tree | 4f4d3e6a0c601459ab42dfd2655dd2ba76cd84f7 /tests | |
parent | 5b31e2b134a9ba6ad0d1d1bf945407450b0a25a6 (diff) |
Add timelined actions
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/simulator/kiu.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/simulator/kiu.py b/tests/simulator/kiu.py index 26eee4f..af4166d 100755 --- a/tests/simulator/kiu.py +++ b/tests/simulator/kiu.py @@ -1,7 +1,17 @@ #!/usr/bin/python from sugar.simulator import Bot +from sugar.simulator import ShareActivityAction from sugar.canvas.IconColor import IconColor bot = Bot('kiu', IconColor('#5E4505,#0F8A0F')) + +action = ShareActivityAction('OLPC channel', + '_GroupChatActivity_Sugar_redhat_com._udp') +bot.add_action(action, 10) + +action = ShareActivityAction('Sugar channel', + '_GroupChatActivity_Sugar_redhat_com._udp') +bot.add_action(action, 20) + bot.start() |