[at-spi] Add a gsettings key to specify the location of libatk-bridge.so



commit fcb8075a975e513e12c6bd882613d9a23c84772f
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Thu Jan 13 23:32:03 2011 +0100

    Add a gsettings key to specify the location of libatk-bridge.so

 Makefile.am                           |    2 +-
 configure.in                          |    5 +++++
 schemas/Makefile.am                   |    7 +++++++
 schemas/org.a11y.atspi.gschema.xml.in |   10 ++++++++++
 4 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8b28cf2..9970661 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = docs idl libspi login-helper registryd atk-bridge cspi pyatspi test po
+SUBDIRS = docs idl libspi login-helper registryd atk-bridge cspi pyatspi test po schemas
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libspi-1.0.pc cspi-1.0.pc libloginhelper-1.0.pc
diff --git a/configure.in b/configure.in
index 2cb2c6d..a4241d9 100644
--- a/configure.in
+++ b/configure.in
@@ -51,6 +51,9 @@ dnl GConf checks
 AC_PATH_PROG(GCONFTOOL, gconftool-2)
 AM_GCONF_SOURCE_2
 
+dnl GSETTINGS checks
+GLIB_GSETTINGS
+
 # Check for Python
 
 AM_PATH_PYTHON(2.4)
@@ -274,6 +277,8 @@ cspi/Makefile
 cspi/bonobo/Makefile
 pyatspi/Makefile
 pyatspi/__init__.py
+schemas/Makefile
+schemas/org.a11y.atspi.gschema.xml
 ])
 
 echo "AT-SPI setup:
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
new file mode 100644
index 0000000..17a46d1
--- /dev/null
+++ b/schemas/Makefile.am
@@ -0,0 +1,7 @@
+gsettings_SCHEMAS = org.a11y.atspi.gschema.xml
+
+ GSETTINGS_RULES@
+
+EXTRA_DIST = \
+	$(gsettings_SCHEMAS) \
+	$(patsubst %,%.in,$(GSETTINGS_SCHEMAS))
diff --git a/schemas/org.a11y.atspi.gschema.xml.in b/schemas/org.a11y.atspi.gschema.xml.in
new file mode 100644
index 0000000..3e86f30
--- /dev/null
+++ b/schemas/org.a11y.atspi.gschema.xml.in
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<schemalist>
+  <schema id="org.a11y.atspi" path="/a11y/atspi/">
+    <key name="atk-bridge-location" type="s">
+      <default>'@prefix@/lib/gtk-3.0/modules/libatk-bridge.so'</default>
+      <summary>Atk-bridge location</summary>
+      <description>The path to the atk-bridge module; useful for non-GTK applications/toolkits that want to load it.</description>
+    </key>
+  </schema>
+</schemalist>



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