Add a GConf schemas file
authorPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 6 May 2011 12:14:23 +0000 (14:14 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 6 May 2011 12:14:23 +0000 (14:14 +0200)
Makefile.am
configure.ac
data/status-area-applet-tor.schemas [new file with mode: 0644]

index 8e2d3da..3adbe63 100644 (file)
@@ -21,6 +21,10 @@ icon18_DATA = \
        data/statusarea_tor_connected.png \
        data/statusarea_tor_connecting.png
 
+schemadir = @GCONF_SCHEMA_FILE_DIR@
+schema_DATA = \
+       data/status-area-applet-tor.schemas
+
 status_area_applet_tor_la_SOURCES = \
        src/status-area-applet-tor.c \
        src/bridge-dialog.c \
index 187bc1c..37496df 100644 (file)
@@ -23,6 +23,7 @@ AC_SUBST(CONIC_CFLAGS)
 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.16.0)
 AC_SUBST(GCONF_LIBS)
 AC_SUBST(GCONF_CFLAGS)
+AM_GCONF_SOURCE_2
 
 PKG_CHECK_MODULES(HILDON, hildon-1 >= 2.2.0)
 AC_SUBST(HILDON_LIBS)
diff --git a/data/status-area-applet-tor.schemas b/data/status-area-applet-tor.schemas
new file mode 100644 (file)
index 0000000..e399436
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<gconfschemafile>
+  <schemalist>
+    <schema>
+      <key>/schemas/apps/maemo/tor/enabled</key>
+      <applyto>/apps/maemo/tor/enabled</applyto>
+      <owner>status-area-applet-tor</owner>
+      <type>bool</type>
+      <default>false</default>
+      <locale name="C">
+        <short>Enable Tor daemon</short>
+       <long>Determines whether a Tor daemon is started by the status area applet when there is a connection.</long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/apps/maemo/tor/bridges</key>
+      <applyto>/apps/maemo/tor/bridges</applyto>
+      <owner>status-area-applet-tor</owner>
+      <type>list</type>
+      <list_type>string</list_type>
+      <default>[]</default>
+      <locale name="C">
+        <short>Bridge relay list</short>
+       <long>This key contains a list of relays at "IP:ORPort" that will be used as "bridges" relaying into the Tor network.</long>
+      </locale>
+    </schema>
+
+    <schema>
+      <key>/schemas/apps/maemo/tor/exit_nodes</key>
+      <applyto>/apps/maemo/tor/exit_nodes</applyto>
+      <owner>status-area-applet-tor</owner>
+      <type>list</type>
+      <list_type>string</list_type>
+      <default>[]</default>
+      <locale name="C">
+        <short>Exit node list</short>
+       <long>This key contains a list of identity fingerprints, nicknames,  country  codes  and address  patterns of  nodes to use for the last hop in the circuit.</long>
+      </locale>
+    </schema>
+  </schemalist>
+</gconfschemafile>