[pitivi: 61/94] Fix the path for presets files in XDG directories
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 61/94] Fix the path for presets files in XDG directories
- Date: Sun, 11 Sep 2011 16:17:34 +0000 (UTC)
commit 7bdca35b3e3c7f7dc88ac874bc9303ee3757aaa5
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Sun Sep 4 00:00:40 2011 -0400
Fix the path for presets files in XDG directories
pitivi/ui/preset.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/preset.py b/pitivi/ui/preset.py
index 9f7237c..cbd3d1e 100644
--- a/pitivi/ui/preset.py
+++ b/pitivi/ui/preset.py
@@ -287,7 +287,7 @@ class PresetManager(object):
class VideoPresetManager(PresetManager):
default_path = get_videopresets_dir()
- user_path = os.path.join(xdg_data_home(), 'pitivi/video_presets')
+ user_path = os.path.join(xdg_data_home(), 'video_presets')
def loadSection(self, filepath):
@@ -332,7 +332,7 @@ class VideoPresetManager(PresetManager):
class AudioPresetManager(PresetManager):
default_path = get_audiopresets_dir()
- user_path = os.path.join(xdg_data_home(), 'pitivi/audio_presets')
+ user_path = os.path.join(xdg_data_home(), 'audio_presets')
def loadSection(self, filepath):
@@ -366,7 +366,7 @@ class RenderPresetManager(PresetManager):
""" load() and save() are rewritten to save widget values to json """
default_path = get_renderpresets_dir()
- user_path = os.path.join(xdg_data_home(), 'pitivi/render_presets')
+ user_path = os.path.join(xdg_data_home(), 'render_presets')
def loadSection(self, filepath):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]