[pitivi] utils/widgets: add binding to the bindings dictionnary



commit 49cfa7a56299e8f6456c6521086b2199184420ce
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Sun Jul 7 02:58:26 2013 +0200

    utils/widgets: add binding to the bindings dictionnary
    
    when adding keyframes for the first time.

 pitivi/utils/widgets.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index 183a327..75ebd82 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -965,6 +965,8 @@ class GstElementSettingsWidget(Gtk.VBox, Loggable):
         for track_element in effect.get_parent().get_children():
             if hasattr(track_element, "ui_element") and track_type == track_element.get_track_type() and 
active:
                 track_element.ui_element.showKeyframes(effect, prop)
+                binding = self.element.get_control_binding(prop.name)
+                self.bindings[widget] = binding
             elif hasattr(track_element, "ui_element"):
                 track_element.ui_element.hideKeyframes()
 


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