[pitivi/ges: 265/287] viewer: Make the settings more compact
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 265/287] viewer: Make the settings more compact
- Date: Thu, 15 Mar 2012 16:48:08 +0000 (UTC)
commit f3fe4e697d1fabe1e5d7c717d25e279f968aec65
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Sun Feb 12 15:47:56 2012 -0500
viewer: Make the settings more compact
pitivi/viewer.py | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index 6ffa9d8..a494d1a 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -34,36 +34,28 @@ from pitivi.utils.ui import SPACING, hex_to_rgb
from pitivi.utils.widgets import TimeWidget
GlobalSettings.addConfigSection("viewer")
-GlobalSettings.addConfigOption("viewerDocked",
- section="viewer",
+GlobalSettings.addConfigOption("viewerDocked", section="viewer",
key="docked",
default=True)
-GlobalSettings.addConfigOption("viewerWidth",
- section="viewer",
+GlobalSettings.addConfigOption("viewerWidth", section="viewer",
key="width",
default=320)
-GlobalSettings.addConfigOption("viewerHeight",
- section="viewer",
+GlobalSettings.addConfigOption("viewerHeight", section="viewer",
key="height",
default=240)
-GlobalSettings.addConfigOption("viewerX",
- section="viewer",
+GlobalSettings.addConfigOption("viewerX", section="viewer",
key="x-pos",
default=0)
-GlobalSettings.addConfigOption("viewerY",
- section="viewer",
+GlobalSettings.addConfigOption("viewerY", section="viewer",
key="y-pos",
default=0)
-GlobalSettings.addConfigOption("pointSize",
- section="viewer",
+GlobalSettings.addConfigOption("pointSize", section="viewer",
key="point-size",
default=25)
-GlobalSettings.addConfigOption("clickedPointColor",
- section="viewer",
+GlobalSettings.addConfigOption("clickedPointColor", section="viewer",
key="clicked-point-color",
default='ffa854')
-GlobalSettings.addConfigOption("pointColor",
- section="viewer",
+GlobalSettings.addConfigOption("pointColor", section="viewer",
key="point-color",
default='49a0e0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]