[pitivi] project: Connect new projects to pipeline failure signals



commit a7e2611464e61a364538d34c29ca9d5d2f2b26d5
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun May 10 23:35:22 2015 -0400

    project: Connect new projects to pipeline failure signals
    
    Otherwise this would only be connected when loading existing projects

 pitivi/project.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index a2a366e..8cd3b3e 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -594,6 +594,7 @@ class ProjectManager(GObject.Object, Loggable):
         self.emit("new-project-created", project)
 
         project.connect("project-changed", self._projectChangedCb)
+        project.pipeline.connect("died", self._pipelineDied)
         project.setModificationState(False)
         self.emit("new-project-loaded", self.current_project, emission)
         self.time_loaded = time()


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