[pitivi: 5/8] mainwindow.py: add config file entries for element settings widget



commit 019d912d78cc9b00913b006622970bd5357f3e95
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Fri Jul 31 19:59:08 2009 -0700

    mainwindow.py: add config file entries for element settings widget
    squash into mainwindow commit

 pitivi/ui/mainwindow.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 4f1aa17..b7f85fe 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -105,6 +105,14 @@ GlobalSettings.addConfigOption('lastExportFolder',
                                 key="last-export-folder",
                                 environment="PITIVI_EXPORT_FOLDER",
                                 default=os.path.expanduser("~"))
+GlobalSettings.addConfigOption('elementSettingsDialogWidth',
+    section='export',
+    key='element-settings-dialog-width',
+    default = 620)
+GlobalSettings.addConfigOption('elementSettingsDialogHeight',
+    section='export',
+    key='element-settings-dialog-height',
+    default = 460)
 
 def supported(info):
     return formatter.can_handle_location(info[1])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]