[pitivi: 13/94] Removed pitivi.timeline.timeline.LinkEntry because it's unused
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 13/94] Removed pitivi.timeline.timeline.LinkEntry because it's unused
- Date: Sun, 11 Sep 2011 16:13:33 +0000 (UTC)
commit 54440f7ea84f796b840dd8d123c1e83d041a02fe
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Mon Aug 15 01:47:50 2011 +0200
Removed pitivi.timeline.timeline.LinkEntry because it's unused
pitivi/timeline/timeline.py | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 3dd5bad..6faa8ba 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -461,8 +461,7 @@ class Selection(Signallable):
"""
__signals__ = {
- "selection-changed": []
- }
+ "selection-changed": []}
def __init__(self):
self.selected = set([])
@@ -556,13 +555,6 @@ class Selection(Signallable):
return iter(self.selected)
-# FIXME : What is this for ? It's not used anywhere AFAICS (Edward)
-class LinkEntry(object):
- def __init__(self, start, duration):
- self.start = start
- self.duration = duration
-
-
class LinkPropertyChangeTracker(PropertyChangeTracker):
"""
Tracker for private usage by L{Link}
@@ -571,8 +563,7 @@ class LinkPropertyChangeTracker(PropertyChangeTracker):
"""
__signals__ = {
'start-changed': ['old', 'new'],
- 'duration-changed': ['old', 'new']
- }
+ 'duration-changed': ['old', 'new']}
property_names = ('start', 'duration')
@@ -1498,8 +1489,7 @@ class Timeline(Signallable, Loggable):
'track-added': ['track'],
'track-removed': ['track'],
'selection-changed': [],
- 'disable-updates': ['bool']
- }
+ 'disable-updates': ['bool']}
def __init__(self):
Loggable.__init__(self)
@@ -1821,6 +1811,7 @@ class Timeline(Signallable, Loggable):
if tracks is None:
skip = None
else:
+
def skipIfNotInTheseTracks(timeline_object):
return self._skipIfNotInTracks(timeline_object, tracks)
skip = skipIfNotInTheseTracks
@@ -1837,6 +1828,7 @@ class Timeline(Signallable, Loggable):
if tracks is None:
skip = None
else:
+
def skipIfNotInTheseTracks(timeline_object):
return self._skipIfNotInTracks(timeline_object, tracks)
skip = skipIfNotInTheseTracks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]