[pitivi] pitivi: GESPipeline.add_timeline was rename GESPipeline.set_timeline



commit ebb9c3d88fbb3eb9e36d59d418e0ab8d3990cd8c
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Tue Feb 4 14:15:12 2014 +0100

    pitivi: GESPipeline.add_timeline was rename GESPipeline.set_timeline

 pitivi/project.py        |    2 +-
 pitivi/utils/pipeline.py |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 38f5f40..7525501 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -876,7 +876,7 @@ class Project(Loggable, GES.Project):
 
         self.timeline.selection = Selection()
         self.pipeline = Pipeline()
-        self.pipeline.add_timeline(self.timeline)
+        self.pipeline.set_timeline(self.timeline)
 
         return True
 
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 0a2c0bf..7c0c3e0 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -531,8 +531,8 @@ class Pipeline(GES.Pipeline, SimplePipeline):
     def _getDuration(self, format=Gst.Format.TIME):
         return self._timeline.get_duration()
 
-    def add_timeline(self, timeline):
-        if GES.Pipeline.add_timeline(self, timeline):
+    def set_timeline(self, timeline):
+        if GES.Pipeline.set_timeline(self, timeline):
             self._timeline = timeline
             return True
 


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