[pitivi] timeline: Removing an effect should not trigger graphical updates.
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Removing an effect should not trigger graphical updates.
- Date: Sat, 25 May 2013 13:56:26 +0000 (UTC)
commit 0842203bef128b557a318655f171a6f59c0a1e2e
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Sun May 5 20:15:18 2013 +0200
timeline: Removing an effect should not trigger graphical updates.
pitivi/timeline/timeline.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index fc09f94..38b99ce 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -372,6 +372,8 @@ class TimelineStage(Clutter.ScrollActor, Zoomable):
self.add_child(element)
def _removeTimelineElement(self, track, bElement):
+ if isinstance(bElement, GES.Effect):
+ return
bElement.disconnect_by_func(self._elementStartChangedCb)
bElement.disconnect_by_func(self._elementDurationChangedCb)
bElement.disconnect_by_func(self._elementInPointChangedCb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]