From 2db2ae531208cdb58c448f4bd4a91f8ea947066a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 24 Dec 2006 11:19:24 +0000 Subject: Split model/view in the activities donut. Provide some infrastructure for Alt+Tab implementation. --- (limited to 'sugar') diff --git a/sugar/graphics/timeline.py b/sugar/graphics/timeline.py index 3944771..013687d 100644 --- a/sugar/graphics/timeline.py +++ b/sugar/graphics/timeline.py @@ -56,7 +56,7 @@ class Timeline: del self._tags[name] def _next_frame(self, tag, frame): - n_frames = tag.start_frame - tag.end_frame + n_frames = tag.end_frame - tag.start_frame + 1 self._observer.next_frame(tag.name, frame, n_frames) def goto(self, tag_name, end_frame=False): -- cgit v0.9.1