[pitivi/ges] track: Don't try to create thumbnails for transition objects



commit 14ca03fa7a4ed850206c032145118c95758537f4
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Apr 17 12:53:49 2012 -0400

    track: Don't try to create thumbnails for transition objects

 pitivi/timeline/track.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index ff143ba..c0d95fe 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -359,8 +359,6 @@ class TrackObject(View, goocanvas.Group, Zoomable):
             height=self.height,
             line_width=1)
 
-        self.preview = Preview(self.app, element)
-
         self.name = goocanvas.Text(
             x=NAME_HOFFSET + NAME_PADDING,
             y=NAME_VOFFSET + NAME_PADDING,
@@ -384,6 +382,7 @@ class TrackObject(View, goocanvas.Group, Zoomable):
             height=self.height)
 
         if not self.is_transition:
+            self.preview = Preview(self.app, element)
             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]