[caribou] Added antler_settings.py



commit deea136016db4a858939998479a91b8928cb8750
Author: Eitan Isaacson <eitan monotonous org>
Date:   Tue May 3 16:28:54 2011 -0700

    Added antler_settings.py

 caribou/antler/Makefile.am        |    1 +
 caribou/antler/antler_settings.py |   12 ++++++++++++
 po/POTFILES.in                    |    1 +
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/caribou/antler/Makefile.am b/caribou/antler/Makefile.am
index 51efe0f..d38f508 100644
--- a/caribou/antler/Makefile.am
+++ b/caribou/antler/Makefile.am
@@ -2,6 +2,7 @@ caribou_antlerdir = $(pkgpythondir)/antler/
 
 caribou_antler_PYTHON = \
 	__init__.py  \
+	antler_settings.py \
 	keyboard_view.py  \
 	main.py \
 	window.py
diff --git a/caribou/antler/antler_settings.py b/caribou/antler/antler_settings.py
new file mode 100644
index 0000000..ba13154
--- /dev/null
+++ b/caribou/antler/antler_settings.py
@@ -0,0 +1,12 @@
+from caribou.settings.setting_types import *
+from caribou.i18n import _
+
+AntlerSettings = SettingsTopGroup(
+    _("Antler Preferences"), "/org/gnome/antler/", "org.gnome.antler",
+    [SettingsGroup("antler", _("Antler"), [
+                SettingsGroup("appearance", _("Appearance"), [
+                        BooleanSetting("use_system", _("Use System Theme"),
+                                       True, _("Use System Theme"))
+                        ])
+                ])
+     ])
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5f44bd0..4c97e51 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,3 +2,4 @@
 caribou/settings/caribou_settings.py
 caribou/__init__.py
 caribou/daemon/main.py
+caribou/antler/antler_settings.py



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