[pitivi: 82/94] presets: remove a duplicated removePreset method
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 82/94] presets: remove a duplicated removePreset method
- Date: Sun, 11 Sep 2011 16:19:20 +0000 (UTC)
commit 2f426df664256f718d461fd6ee318644eb67ccee
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Thu Sep 8 15:25:58 2011 -0400
presets: remove a duplicated removePreset method
pitivi/ui/preset.py | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/ui/preset.py b/pitivi/ui/preset.py
index 520eec7..d84c88f 100644
--- a/pitivi/ui/preset.py
+++ b/pitivi/ui/preset.py
@@ -125,15 +125,6 @@ class PresetManager(object):
# Note: This generates a "row-inserted" signal in the model.
self.ordered.append((name, values))
- def removePreset(self, name):
- self.presets.pop(name)
- for i, row in enumerate(self.ordered):
- if row[0] == name:
- del self.ordered[i]
- break
- if self.cur_preset == name:
- self.cur_preset = None
-
def renamePreset(self, path, new_name):
"""Change the name of a preset.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]