From: Philipp Zabel Date: Fri, 6 May 2011 12:14:23 +0000 (+0200) Subject: Add a GConf schemas file X-Git-Url: https://vcs.maemo.org/git/?p=tor-status;a=commitdiff_plain;h=b71b10d3cd3e88791365fb414795730ff263496c Add a GConf schemas file --- diff --git a/Makefile.am b/Makefile.am index 8e2d3da..3adbe63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/configure.ac b/configure.ac index 187bc1c..37496df 100644 --- a/configure.ac +++ b/configure.ac @@ -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 index 0000000..e399436 --- /dev/null +++ b/data/status-area-applet-tor.schemas @@ -0,0 +1,42 @@ + + + + + /schemas/apps/maemo/tor/enabled + /apps/maemo/tor/enabled + status-area-applet-tor + bool + false + + Enable Tor daemon + Determines whether a Tor daemon is started by the status area applet when there is a connection. + + + + + /schemas/apps/maemo/tor/bridges + /apps/maemo/tor/bridges + status-area-applet-tor + list + string + [] + + Bridge relay list + This key contains a list of relays at "IP:ORPort" that will be used as "bridges" relaying into the Tor network. + + + + + /schemas/apps/maemo/tor/exit_nodes + /apps/maemo/tor/exit_nodes + status-area-applet-tor + list + string + [] + + Exit node list + 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. + + + +