[pitivi] project.py: connect to SourceList source-removed signal



commit 21611d3da5b87a5ffe47b23b79486fb4975a42b3
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Sun Jul 12 21:40:27 2009 -0700

    project.py: connect to SourceList source-removed signal

 pitivi/project.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 1c90144..fbe504f 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -80,6 +80,7 @@ class Project(Signallable, Loggable):
         self.urichanged = False
         self.format = None
         self.sources = SourceList()
+        self.sources.connect("source-removed", self._sourceRemovedCb)
 
         self.settingssigid = 0
         self._dirty = False
@@ -189,3 +190,6 @@ class Project(Signallable, Loggable):
 
     def hasUnsavedModifications(self):
         return self._dirty
+
+    def _sourceRemovedCb(self, sourclist, uri, factory):
+        pass



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