Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-12-24 11:19:24 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-12-24 11:19:24 (GMT)
commit2db2ae531208cdb58c448f4bd4a91f8ea947066a (patch)
tree8d33d097ab4717ad47d469460320bcbfc918be5e /sugar
parentdb6f615198b0041dbf860b5e92b846545baea846 (diff)
Split model/view in the activities donut.
Provide some infrastructure for Alt+Tab implementation.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/timeline.py2
1 files changed, 1 insertions, 1 deletions
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):