[pitivi] Add some padding at the end of the timeline. Fixes #576576.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] Add some padding at the end of the timeline. Fixes #576576.
- Date: Wed, 2 Sep 2009 15:21:25 +0000 (UTC)
commit 76509543efb0a1afe265fcb24d56cf71720b9bb7
Author: Alessandro Decina <alessandro d gmail com>
Date: Wed Sep 2 15:57:51 2009 +0200
Add some padding at the end of the timeline. Fixes #576576.
pitivi/ui/timeline.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 295199b..c19d270 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -428,8 +428,8 @@ class Timeline(gtk.Table, Loggable, Zoomable):
def _timelineStartDurationChanged(self, unused_timeline, duration):
if self.shrink:
self._prev_duration = duration
- self.ruler.setMaxDuration(duration)
- self._canvas.setMaxDuration(duration)
+ self.ruler.setMaxDuration(duration + 60 * gst.SECOND)
+ self._canvas.setMaxDuration(duration + 60 * gst.SECOND)
self.ruler.setShadedDuration(duration)
else:
# only resize if new size is larger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]