[pitivi] gstwidget.py: Take care the element notify:: signal



commit d28aae9faee298dea288f7abad35e902983575ae
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Aug 20 17:06:19 2010 -0400

    gstwidget.py: Take care the element notify:: signal

 pitivi/ui/gstwidget.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index 57664d8..80200f0 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -128,6 +128,10 @@ class GstElementSettingsWidget(gtk.VBox, Loggable):
                 button = self._getResetToDefaultValueButton(prop, widget)
                 table.attach(button, 2, 3, y, y+1, xoptions=gtk.FILL, yoptions=gtk.FILL)
                 self.buttons[button] = widget
+            self.element.connect('notify::' + prop.name,
+                                 self._propertyChangedCb,
+                                 widget)
+
             y += 1
 
         self.pack_start(table)



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