[pitivi] timeline.track: Add a comment about factories and timeline objects
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] timeline.track: Add a comment about factories and timeline objects
- Date: Wed, 24 Jun 2009 14:02:57 +0000 (UTC)
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]