[pitivi] mainwindow.py: handle state-changed signal from project pipeline



commit 2f4c7f23d9d2b036da4de72f39214e9eb5f034d4
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Mon Aug 3 17:42:56 2009 -0700

    mainwindow.py: handle state-changed signal from project pipeline
    fixes bug 582327

 pitivi/ui/mainwindow.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index b7f85fe..08b811b 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -905,6 +905,10 @@ class PitiviMainWindow(gtk.Window, Loggable):
         self.timeline.timelinePositionChanged(position)
         self.timelinepos = position
 
+    @handler(project_pipeline, "state-changed")
+    def _timelinePipelineStateChangedCb(self, pipeline, state):
+        self.timeline.stateChanged(state)
+
 ## Project Timeline (not to be confused with UI timeline)
 
     project_timeline = receiver()



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