[pitivi] timeline.track: Add a comment about factories and timeline objects



commit 15ffaa75f2f3fda437815e9cbf242e4363d59287
Author: Edward Hervey <bilboed bilboed com>
Date:   Fri Jun 12 13:12:26 2009 +0200

    timeline.track: Add a comment about factories and timeline objects

 pitivi/timeline/timeline.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 3ffb1b3..8863811 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -890,7 +890,10 @@ class Timeline(Signallable, Loggable):
                 track = track_object.track
                 track.removeTrackObject(track_object)
 
-    # FIXME : shouldn't this be made more generic (i.e. not specific to source facotires) ?
+    # FIXME : shouldn't this be made more generic (i.e. not specific to source factories) ?
+    # FIXME : Maybe it should be up to the ObjectFactory to create the TimelineObject since
+    #    it would know the exact type of TimelineObject to create with what properties (essential
+    #    for being able to create Groups and importing Timelines within Timelines.
     def addSourceFactory(self, factory, stream_map=None, strict=False):
         """
         Creates a TimelineObject for the given SourceFactory and adds it to the timeline.



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