[pitivi] Hookup the expanders to the timeline stage which now holds the selection



commit dd819aae71a89d67eb3f3b4d2607e3753ef45859
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Thu Apr 18 01:00:31 2013 +0200

    Hookup the expanders to the timeline stage which now holds the selection

 pitivi/clipproperties.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index d785c76..5cf645e 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -103,9 +103,9 @@ class ClipProperties(Gtk.ScrolledWindow, Loggable):
     def _setProject(self, project):
         self._project = project
         if project:
-            self.effect_expander._connectTimelineSelection(self._project.timeline)
+            self.effect_expander._connectTimelineSelection(self.app.gui.timeline_ui.timeline)
             if self.transformation_expander:
-                self.transformation_expander.timeline = self._project.timeline
+                self.transformation_expander.timeline = self.app.gui.timeline_ui.timeline
 
     def _getProject(self):
         return self._project


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