[pitivi] Fix preview height for newly created tracks
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix preview height for newly created tracks
- Date: Sat, 21 Jul 2012 19:59:47 +0000 (UTC)
commit 503faf68135961ba003a4cfcf49cdcb11b4d9254
Author: Paul Lange <palango gmx de>
Date: Wed Jun 27 17:33:57 2012 +0200
Fix preview height for newly created tracks
pitivi/timeline/track.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index c107d3d..08d5d5f 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -649,7 +649,7 @@ class TrackFileSource(TrackObject):
"""
def __init__(self, instance, element, track, timeline, utrack):
TrackObject.__init__(self, instance, element, track, timeline, utrack)
- self.preview = Preview(self.app, element)
+ self.preview = Preview(self.app, element, self.height)
for thing in (self.bg, self.preview, self._selec_indic,
self.start_handle, self.end_handle, self.namebg, self.name):
self.add_child(thing)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]