[pitivi] timeline/elements: Use the _controlMask variable to match commit 5a60a7863b



commit 25133329cdd9845e2f779ecd205adefb54ee1321
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Wed Sep 25 10:55:08 2013 -0400

    timeline/elements: Use the _controlMask variable to match commit 5a60a7863b

 pitivi/timeline/elements.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 5a2a66a..3544d71 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -1036,10 +1036,10 @@ class URISourceElement(TimelineElement):
 
         mode = SELECT
 
-        if self.timeline._container.controlMask and not self.bElement.selected:
+        if self.timeline._container._controlMask and not self.bElement.selected:
             mode = SELECT_ADD
             self.timeline.current_group.add(self.bElement.get_toplevel_parent())
-        elif self.timeline._container.controlMask:
+        elif self.timeline._container._controlMask:
             self.timeline.current_group.remove(self.bElement.get_toplevel_parent())
             mode = UNSELECT
         elif not self.bElement.selected.selected:


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