[pitivi] gstwidget.py: Take care the element notify:: signal
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] gstwidget.py: Take care the element notify:: signal
- Date: Wed, 22 Sep 2010 13:45:42 +0000 (UTC)
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]