[pitivi] layers: use control_container.timeline to remove the layers.



commit 1cd96efdb0c995d8d181be9b011a39265777ded5
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Thu Sep 26 22:57:37 2013 +0200

    layers: use control_container.timeline to remove the layers.

 pitivi/timeline/layer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/layer.py b/pitivi/timeline/layer.py
index 7065a0a..0601b0b 100644
--- a/pitivi/timeline/layer.py
+++ b/pitivi/timeline/layer.py
@@ -212,7 +212,7 @@ class BaseLayerControl(Gtk.VBox, Loggable):
         return True
 
     def _deleteLayerCb(self, widget):
-        self._app.timeline.bTimeline.remove_layer(self.layer)
+        self._control_container.timeline.bTimeline.remove_layer(self.layer)
 
     def _moveLayerCb(self, widget, step):
         index = self.layer.get_priority()


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