[pitivi] Unactive effect are unstick when redoing them
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Unactive effect are unstick when redoing them
- Date: Wed, 22 Sep 2010 13:42:46 +0000 (UTC)
commit afc3001b28ebc580d44d19c710ac5267d5aedba4
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue Jul 20 13:26:44 2010 -0400
Unactive effect are unstick when redoing them
pitivi/ui/clipproperties.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index 29d185b..fc26110 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -298,10 +298,15 @@ class EffectProperties(gtk.Expander):
else:
self.VContent.hide()
+ def _activeChangedCb(self, unusedObj, unusedActive):
+ self._updateTreeview()
+
def _updateTreeview(self):
self.storemodel.clear()
for track_effect in self.selected_effects:
to_append = [track_effect.gnl_object.get_property("active")]
+ track_effect.gnl_object.connect("notify::active",
+ self._activeChangedCb)
if isinstance(track_effect.factory.getInputStreams()[0],
VideoStream):
to_append.append("Video")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]