Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Brandon Lewis <brandon_lewis@be...> - 2008-07-25 20:24:56
I checked it into my SOC_2008_BLEWIS branch. It seems work, but I am unsure
about the methods. Basically I looked through viewer.py and playground.py to see
what happened to the timeline bin when the new project loads, and I noticedd
that in fact the original timeline bin is left in the playground, and the new
one is never added.
I added method to the playground which returns the current timeline bin, and
had the viewer first remove this bin from the playground and add in the new one
when the project loads. Hoever, I hit a snag: When I call removePipeline() on
the timeline bin, i get this...
Traceback (most recent call last):
File "pitivi/ui/viewer.py", line 346, in _newProjectCb
File "pitivi/ui/viewer.py", line 83, in _connectToProject
File "pitivi/ui/viewer.py", line 354, in _addTimelineToPlayground
File "pitivi/playground.py", line 144, in removePipeline
TypeError: callback is not callable
So, I commented out line 144, and things seemed to work alright. I just wanted
to bring this to your attention, because I'm not sure that's the right thing to do.