[pitivi/ges: 9/287] GES : make sure the source is not added to the background layer
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 9/287] GES : make sure the source is not added to the background layer
- Date: Thu, 15 Mar 2012 16:26:35 +0000 (UTC)
commit 52ff982f2351a98780252db0461df06a36f1636e
Author: Mathieu Duponchelle <seeed laposte net>
Date: Wed Jul 20 09:10:34 2011 +0200
GES : make sure the source is not added to the background layer
pitivi/ui/timeline.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index 7537bda..a1db48e 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -490,7 +490,9 @@ class Timeline(gtk.Table, Loggable, Zoomable):
def _add_temp_source(self):
uris = self.selection_data.split("\n")
- layer = self.app.projectManager.current.timeline.get_layers()[0]
+ for layer in self.app.projectManager.current.timeline.get_layers():
+ if layer.get_priority() != 99:
+ break
for uri in uris :
src = ges.TimelineFileSource(uri)
layer.add_object(src)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]