[pitivi] Rename ClipElement to be synced with GES
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Rename ClipElement to be synced with GES
- Date: Wed, 24 Apr 2013 18:03:21 +0000 (UTC)
commit 428c8446b22bc2dfebb3f6bd12fb862159922d9b
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Thu Apr 18 03:29:55 2013 +0200
Rename ClipElement to be synced with GES
pitivi/timeline/elements.py | 2 +-
pitivi/timeline/timeline.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index 4390aae..13929e8 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -471,7 +471,7 @@ class TimelineElement(Clutter.Actor, Zoomable):
self.marquee.props.visible = isSelected
-class ClipElement(TimelineElement):
+class URISourceElement(TimelineElement):
def __init__(self, bElement, track, timeline):
TimelineElement.__init__(self, bElement, track, timeline)
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 6604a8e..e811aba 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -36,7 +36,7 @@ from pitivi.utils.widgets import ZoomBox
from ruler import ScaleRuler
from gettext import gettext as _
from pitivi.utils.pipeline import Pipeline
-from elements import ClipElement, TransitionElement, Ghostclip
+from elements import URISourceElement, TransitionElement, Ghostclip
from controls import ControlContainer
GlobalSettings.addConfigOption('edgeSnapDeadband',
@@ -314,7 +314,7 @@ class TimelineStage(Clutter.ScrollActor, Zoomable):
element = TransitionElement(bElement, track, self)
element.set_z_position(0)
else:
- element = ClipElement(bElement, track, self)
+ element = URISourceElement(bElement, track, self)
element.set_z_position(-1)
bElement.connect("notify::start", self._elementStartChangedCb, element)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]