[pitivi] clipproperties: Remove obsolete function
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] clipproperties: Remove obsolete function
- Date: Tue, 27 Jan 2015 18:39:09 +0000 (UTC)
commit 9dfff34b6ec9641671454e1ce7e0e3740a04ba52
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Nov 19 17:44:25 2014 +0100
clipproperties: Remove obsolete function
pitivi/clipproperties.py | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index f7e1cac..5815485 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -35,11 +35,11 @@ from pitivi.dialogs.depsmanager import DepsManager
from pitivi.utils.ui import EFFECT_TARGET_ENTRY
from pitivi.utils.loggable import Loggable
from pitivi.utils.ui import PADDING, SPACING
-from pitivi.utils.widgets import GstElementSettingsWidget
from pitivi.effects import AUDIO_EFFECT, VIDEO_EFFECT, HIDDEN_EFFECTS, \
EffectsPropertiesManager
+
(COL_ACTIVATED,
COL_TYPE,
COL_BIN_DESCRIPTION_TEXT,
@@ -49,24 +49,11 @@ from pitivi.effects import AUDIO_EFFECT, VIDEO_EFFECT, HIDDEN_EFFECTS, \
class ClipPropertiesError(Exception):
-
"""Base Exception for errors happening in L{ClipProperties}s or L{EffectProperties}s"""
pass
-def compare_type(track, effect_type):
-
- if (track.get_property("track_type") == GES.TrackType.AUDIO
- and effect_type == AUDIO_EFFECT):
- return True
- elif (track.get_property("track_type") == GES.TrackType.VIDEO
- and effect_type == VIDEO_EFFECT):
- return True
- return False
-
-
class ClipProperties(Gtk.ScrolledWindow, Loggable):
-
"""
Widget for configuring the selected clip.
@@ -142,7 +129,6 @@ class ClipProperties(Gtk.ScrolledWindow, Loggable):
class EffectProperties(Gtk.Expander, Loggable):
-
"""
Widget for viewing and configuring effects
@@ -569,10 +555,10 @@ class EffectProperties(Gtk.Expander, Loggable):
class TransformationProperties(Gtk.Expander):
-
"""
Widget for viewing and configuring speed
"""
+
__signals__ = {
'selection-changed': []}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]