[pitivi] Conserve the 'active' state of the TrackObject.gnl_object when spliting



commit c565e2bcba761af105e2ff26db29cda47f84e79a
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Jul 14 11:16:42 2010 -0400

    Conserve the 'active' state of the TrackObject.gnl_object when spliting

 pitivi/timeline/track.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index d2f711f..70c7f9c 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -123,7 +123,7 @@ class Interpolator(Signallable, Loggable):
       removing, and mutating discrete keyframe objects
 
     There are two special control points: the start and end points, which are
-    "fixed" to the start and end of the clip in the timeline. 
+    "fixed" to the start and end of the clip in the timeline.
 
     Timestamps given are assumed to be relative to the start of the clip. This
     seems to be the normal behavior when the element being controlled is
@@ -415,6 +415,8 @@ class TrackObject(Signallable, Loggable):
 
         if self.track is not None:
             self.track.addTrackObject(other)
+            other.gnl_object.set_property("active",
+                                          self.gnl_object.get_property("active"))
 
         interpolators = self.getInterpolators()
         for property, interpolator in interpolators.itervalues():



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]