[pitivi] Fix a regression undoing splitting of clips. Fixes #597704.



commit 75e05d2679314ada4551623dd049fbab30efe87c
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Feb 22 01:16:55 2010 +0100

    Fix a regression undoing splitting of clips. Fixes #597704.

 pitivi/timeline/track.py |    2 +-
 pitivi/ui/timeline.py    |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 9f44058..6f4218f 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -380,7 +380,7 @@ class TrackObject(Signallable, Loggable):
             else:
                 interpolator.attachToElementProperty(gst_object_property,
                         gst_object)
-                interpolator.updateMediaStop(self.media_stop)
+                interpolator.updateMediaStop(self.out_point)
 
                 # remove and add again the keyframes so they are set on the
                 # current controller
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 7c21212..1beda12 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -616,6 +616,8 @@ class Timeline(gtk.Table, Loggable, Zoomable):
             self.timeline.groupSelection()
 
     def split(self, action):
+        self.app.action_log.begin("split")
         self.timeline.split(self._position)
+        self.app.action_log.commit()
         # work-around for 603149
         self.project.seeker.seek(self._position)



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