diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-21 16:04:37 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-21 16:04:37 (GMT) |
commit | 66124465e89b9d39edfab62c5a6761f5b8b7656a (patch) | |
tree | 0a38f98e43bdfe7e1fa95394aeea71390f7deafd /sugar | |
parent | c982879815f938deb6fb274c722933fe3b4584c8 (diff) |
Do not show the frame when leaving the edge before the time
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/canvas/Timeline.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sugar/canvas/Timeline.py b/sugar/canvas/Timeline.py index d28aa19..a2736cf 100644 --- a/sugar/canvas/Timeline.py +++ b/sugar/canvas/Timeline.py @@ -41,7 +41,7 @@ class Timeline: self._observer.next_frame(tag.name, frame, n_frames) def goto(self, tag_name, end_frame=False): - self.stop() + self.pause() tag = self._name_to_tag[tag_name] if end_frame: @@ -75,7 +75,7 @@ class Timeline: return False def play(self, start_tag=None, stop_tag=None): - self.stop() + self.pause() if start_tag == None: start = 0 @@ -93,6 +93,6 @@ class Timeline: self._timeout_sid = gobject.timeout_add( interval, self._timeout_cb, end) - def stop(self): + def pause(self): if self._timeout_sid > 0: gobject.source_remove(self._timeout_sid) |