[pitivi/ges] render: Properly connect to the pipeline for updating the ETAs
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] render: Properly connect to the pipeline for updating the ETAs
- Date: Mon, 7 May 2012 19:49:37 +0000 (UTC)
commit 82815d336ee8647cd286dc83622941d97ed9aef6
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Mon May 7 15:49:13 2012 -0400
render: Properly connect to the pipeline for updating the ETAs
pitivi/render.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/render.py b/pitivi/render.py
index 43a4e55..777124c 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -887,7 +887,7 @@ class RenderDialog(Loggable):
for obj, id in self._gstSigId.iteritems():
obj.disconnect(id)
self._gstSigId = {}
- self.app.current.pipeline.disconnect_by_function(self._updatePositionCb)
+ self.app.current.pipeline.disconnect_by_func(self._updatePositionCb)
def _updateProjectSettings(self):
"""Updates the settings of the project if the render settings changed.
@@ -957,7 +957,7 @@ class RenderDialog(Loggable):
bus = self._pipeline.get_bus()
bus.add_signal_watch()
self._gstSigId[bus] = bus.connect('message', self._busMessageCb)
- self.app.current.connect("position", self._updatePositionCb)
+ self.app.current.pipeline.connect("position", self._updatePositionCb)
def _closeButtonClickedCb(self, unused_button):
self.debug("Render dialog's Close button clicked")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]