[pitivi/ges: 39/287] This finishes enabling the transformation box



commit 572c5c785b81bd9992c679f82ac9ae2aba3b1df2
Author: Mathieu Duponchelle <seeed laposte net>
Date:   Wed Sep 14 14:56:39 2011 +0200

    This finishes enabling the transformation box

 pitivi/ui/viewer.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index 60753f5..c630150 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -187,6 +187,7 @@ class PitiviViewer(gtk.VBox, Loggable):
                 state_change = pending == gst.STATE_VOID_PENDING
 
                 if state_change:
+                    self.internal.currentStateCb(self.pipeline, new)
                     self._currentStateCb(new)
 
     def _disconnectFromPipeline(self):
@@ -1113,7 +1114,7 @@ class ViewerWidget(gtk.DrawingArea, Loggable):
                 if self.box.area.width != self.pixbuf.get_width():
                     cr.restore()
 
-            if self.pipeline.getState() == gst.STATE_PAUSED:
+            if self.pipeline.get_state() == gst.STATE_PAUSED:
                 self.box.draw(cr)
             cr.pop_group_to_source()
             cr.paint()



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