[pitivi] effects: Simplify _getEffectCategories
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] effects: Simplify _getEffectCategories
- Date: Tue, 30 Sep 2014 07:31:32 +0000 (UTC)
commit 48db2a7602aa7038dfc3852f1738085140cd977a
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Sep 30 00:44:10 2014 +0200
effects: Simplify _getEffectCategories
pitivi/effects.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index 36fb07c..15bd76f 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -243,18 +243,14 @@ class EffectsManager(object):
for category in AUDIO_EFFECTS_CATEGORIES:
if effect_name in category[1]:
categories.append(category[0])
- self._audio_categories.add(category[0])
for category in VIDEO_EFFECTS_CATEGORIES:
if effect_name in category[1]:
categories.append(category[0])
- self._video_categories.add(category[0])
if not categories:
uncategorized = _("Uncategorized")
categories.append(uncategorized)
- self._video_categories.add(uncategorized)
- self._audio_categories.add(uncategorized)
categories.insert(0, VIDEO_EFFECTS_CATEGORIES[0][0])
categories.insert(0, AUDIO_EFFECTS_CATEGORIES[0][0])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]