[pitivi: 54/94] Added get_audiopresets_dir() and get_video_presets_dir()
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 54/94] Added get_audiopresets_dir() and get_video_presets_dir()
- Date: Sun, 11 Sep 2011 16:16:59 +0000 (UTC)
commit bffe9c7d3c57e97b2b682dba14ad50de900f2c29
Author: Feroze Naina <ferozenaina gmail com>
Date: Tue Aug 23 00:04:47 2011 +0530
Added get_audiopresets_dir() and get_video_presets_dir()
pitivi/configure.py.in | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/configure.py.in b/pitivi/configure.py.in
index 3000b69..46f420e 100644
--- a/pitivi/configure.py.in
+++ b/pitivi/configure.py.in
@@ -75,3 +75,11 @@ def get_ui_dir():
def get_renderpresets_dir():
""" Returns the directory for Render Presets files """
return os.path.join(get_data_dir(), 'renderpresets')
+
+def get_audiopresets_dir():
+ """ Returns the directory for Audio Presets files """
+ return os.path.join(get_data_dir(), 'audiopresets')
+
+def get_videopresets_dir():
+ """ Returns the directory for Video Presets files """
+ return os.path.join(get_data_dir(), 'videopresets')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]