[pitivi] Do not show a transtion in the UI when you add an effect
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Do not show a transtion in the UI when you add an effect
- Date: Wed, 22 Sep 2010 13:35:58 +0000 (UTC)
commit 9587590dd3c72456efbf26b2e3b4d3797843bd8b
Author: Thibault Saunier <tsaunier src gnome org>
Date: Thu Jun 3 11:06:26 2010 -0300
Do not show a transtion in the UI when you add an effect
pitivi/timeline/track.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 814c71c..4f1af22 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -765,7 +765,9 @@ class Transition(Signallable):
self._updateController()
def _updatePriority(self, *unused):
- if self.a.priority == self.b.priority:
+ if self.a.priority == self.b.priority and\
+ TrackEffect not in [type(self.a), type(self.b)]: #FIXME, checkme actually
+ #pdb.set_trace()
priority = self.a.priority
self._updateOperationPriority(priority)
self.priority = priority
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]