[pitivi/ges: 96/287] Misc fixes
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 96/287] Misc fixes
- Date: Thu, 15 Mar 2012 16:33:53 +0000 (UTC)
commit a7f1774a5b08b0b37bd79d515aeace536b4d50a9
Author: Thibault Saunier <thibault saunier collabora com>
Date: Thu Dec 15 11:42:19 2011 -0300
Misc fixes
pitivi/ui/clipproperties.py | 1 +
pitivi/ui/preset.py | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index b367a85..4a07b33 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -158,6 +158,7 @@ class EffectProperties(gtk.Expander, gtk.HBox):
self.timeline_objects = []
self._factory = None
self.app = instance
+ self.settings = instance.settings
self.effectsHandler = self.app.effects
self._effect_config_ui = None
self.pipeline = None
diff --git a/pitivi/ui/preset.py b/pitivi/ui/preset.py
index 443e147..0a2d31d 100644
--- a/pitivi/ui/preset.py
+++ b/pitivi/ui/preset.py
@@ -19,20 +19,18 @@
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.
-import ConfigParser
import os.path
import gst
import gtk
+import json
from pitivi.encode import available_muxers, available_video_encoders, \
available_audio_encoders
from pitivi.settings import xdg_data_home
from pitivi.utils import isWritable
-from pitivi.configure import get_data_dir, get_renderpresets_dir, \
+from pitivi.configure import get_renderpresets_dir, \
get_audiopresets_dir, get_videopresets_dir
-import json
-import os
class DuplicatePresetNameException(Exception):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]