[pitivi] effects: rename
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] effects: rename
- Date: Tue, 30 Sep 2014 07:31:12 +0000 (UTC)
commit 79d927053a3c259d23b4d34a08448035005fe294
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Sep 30 00:10:47 2014 +0200
effects: rename
pitivi/effects.py | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index caf046f..aaf1650 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -238,17 +238,17 @@ class EffectsManager(object):
"""
categories = []
- for categorie in self._audio_categories_effects:
- for name in categorie[1]:
+ for category in self._audio_categories_effects:
+ for name in category[1]:
if name == effect_name:
- categories.append(categorie[0])
- self._audio_categories.append(categorie[0])
+ categories.append(category[0])
+ self._audio_categories.append(category[0])
- for categorie in self._video_categories_effects:
- for name in categorie[1]:
+ for category in self._video_categories_effects:
+ for name in category[1]:
if name == effect_name:
- categories.append(categorie[0])
- self._video_categories.add(categorie[0])
+ categories.append(category[0])
+ self._video_categories.add(category[0])
if not categories:
uncategorized = _("Uncategorized")
@@ -283,8 +283,8 @@ class EffectsManager(object):
just return all categories
"""
if not self._video_categories or not aware:
- for categorie in self._video_categories_effects[1:]:
- self._video_categories.add(categorie[0])
+ for category in self._video_categories_effects[1:]:
+ self._video_categories.add(category[0])
ret = list(self._video_categories)
ret.sort()
@@ -302,8 +302,8 @@ class EffectsManager(object):
@return: All audio effect categories names C{str}
"""
if not self._audio_categories or not aware:
- for categorie in self._audio_categories_effects[1:]:
- self._audio_categories.add(categorie[0])
+ for category in self._audio_categories_effects[1:]:
+ self._audio_categories.add(category[0])
ret = list(self._audio_categories)
ret.sort()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]