[pitivi] elements: Get the main window from the container



commit 0ee29259d03dc7b8e881b1081ec6e002af193852
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sat Mar 1 16:07:20 2014 +0100

    elements: Get the main window from the container

 pitivi/timeline/elements.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 3bd2d5c..1fda35b 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -1041,7 +1041,7 @@ class URISourceElement(TimelineElement):
             GES.Container.ungroup(self.timeline.current_group, False)
             self.timeline.current_group = GES.Group()
             self.timeline.current_group.add(self.bElement.get_toplevel_parent())
-            self.timeline._container.app.gui.switchContextTab(self.bElement)
+            self.timeline._container.gui.switchContextTab(self.bElement)
 
         children = self.bElement.get_toplevel_parent().get_children(True)
         selection = filter(lambda elem: isinstance(elem, GES.Source), children)


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