[pitivi: 9/16] timeline_undo.py: don't forget to connect to existing track objects in _connectToTimelineObject



commit 64f23cd4f10ba8171cf3305424ef732e2ed42bf5
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Fri Jul 3 15:24:45 2009 -0700

    timeline_undo.py: don't forget to connect to existing track objects in _connectToTimelineObject

 pitivi/timeline/timeline_undo.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline_undo.py b/pitivi/timeline/timeline_undo.py
index 2431a02..a846b14 100644
--- a/pitivi/timeline/timeline_undo.py
+++ b/pitivi/timeline/timeline_undo.py
@@ -245,6 +245,8 @@ class TimelineLogObserver(object):
 
         timeline_object.connect("track-object-added", self._timelineObjectTrackObjectAddedCb)
         timeline_object.connect("track-object-removed", self._timelineObjectTrackObjectRemovedCb)
+        for obj in timeline_object.track_objects:
+            self._connectToTrackObject(obj)
 
     def _disconnectFromTimelineObject(self, timeline_object):
         tracker = self.timeline_object_property_trackers.pop(timeline_object)



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