[gcompris/gcomprixogoo] removed unneeded test code.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] removed unneeded test code.
- Date: Wed, 11 Nov 2009 19:00:32 +0000 (UTC)
commit 5229cc8bc843c26c0bed131eee9a036ccd144e13
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Wed Nov 11 17:34:23 2009 +0100
removed unneeded test code.
src/anim-activity/AnimItem.py | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/anim-activity/AnimItem.py b/src/anim-activity/AnimItem.py
index a61f302..98ab509 100644
--- a/src/anim-activity/AnimItem.py
+++ b/src/anim-activity/AnimItem.py
@@ -143,20 +143,6 @@ class AnimItem:
self.item.connect("button_release_event", AnimItem.anim.item_event)
self.item.connect("motion_notify_event", AnimItem.anim.item_event)
- def test(self):
- self.set_visible(0, 10)
- self.set_visible(11, 20)
- self.set_visible(4, 8)
- self.set_visible(0, 10)
- self.set_visible_to_end(1000)
- print self.is_visible(10)
- print self.is_visible(800)
- print self.is_visible(1001)
- self.delete_at_time(10)
- self.delete_at_time(1000)
- self.delete_at_time(20)
- print self.visible
-
# Mark this object to be visible from fromtime to totime.
def set_visible(self, fromtime, totime):
self.visible.append( (fromtime, totime) )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]