[pitivi/ges: 7/287] GES : add sources to the sourcelist when loading a project



commit 21270bde9ffe5a793984623ff70004d637839de9
Author: Mathieu Duponchelle <seeed laposte net>
Date:   Wed Jul 20 03:39:14 2011 +0200

    GES : add sources to the sourcelist when loading a project

 pitivi/ui/track.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/track.py b/pitivi/ui/track.py
index 36583c8..11bd2c2 100644
--- a/pitivi/ui/track.py
+++ b/pitivi/ui/track.py
@@ -135,6 +135,7 @@ class Track(goocanvas.Group, Zoomable):
     def check(self, tr_obj):
         if tr_obj.get_timeline_object():
             w = TrackObject(self.app, tr_obj, self.track, self.timeline, self)
+            self.app.current.sources.addUri(tr_obj.get_timeline_object().get_uri())
             self.widgets[tr_obj] = w
             self.add_child(w)
             self.app.gui.setBestZoomRatio()



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