[libgail-gnome] Add schema to make gnome-settings-daemon load the module when a11y is loaded
- From: Fernando Herrera de las Heras <fherrera src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgail-gnome] Add schema to make gnome-settings-daemon load the module when a11y is loaded
- Date: Mon, 21 Jun 2010 13:22:11 +0000 (UTC)
commit d66659153f388752a9cc8c78a59ce0482541790d
Author: Fernando Herrera <fherrera onirica com>
Date: Mon Jun 21 15:19:11 2010 +0200
Add schema to make gnome-settings-daemon load the module when a11y is loaded
Makefile.am | 18 ++++++++++++++++--
configure.in | 5 +++++
libgail-gnome.schemas | 17 +++++++++++++++++
3 files changed, 38 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d72a2b7..8b069e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,22 @@ SUBDIRS = gail-gnome test
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= libgail-gnome.pc
-EXTRA_DIST=libgail-gnome.pc.in
+schemasdir = $(GCONF_SCHEMA_FILE_DIR)
+schemas_DATA = libgail-gnome.schemas
+
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+ if test -z "$(DESTDIR)" ; then \
+ for p in $(schemas_DATA) ; do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/$$p ; \
+ done \
+ fi
+else
+install-data-local:
+endif
+
+
+EXTRA_DIST= $(schemas_DATA) libgail-gnome.pc.in
.PHONY: files
@@ -14,4 +29,3 @@ files:
echo $$subdir/$$file; \
done; \
done
-
diff --git a/configure.in b/configure.in
index 6aa272d..27830fa 100644
--- a/configure.in
+++ b/configure.in
@@ -78,6 +78,11 @@ if test "$gail_native_win32" = "yes"; then
fi
AM_CONDITIONAL([MS_LIB_AVAILABLE],[test "$ms_librarian" = "yes"])
+
+dnl GConf checks
+AC_PATH_PROG(GCONFTOOL, gconftool-2)
+AM_GCONF_SOURCE_2
+
GNOME_COMMON_INIT
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
diff --git a/libgail-gnome.schemas b/libgail-gnome.schemas
new file mode 100644
index 0000000..f0c7458
--- /dev/null
+++ b/libgail-gnome.schemas
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<gconfschemafile>
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/gnome_settings_daemon/gtk-modules/gail-gnome</key>
+ <applyto>/apps/gnome_settings_daemon/gtk-modules/gail-gnome</applyto>
+ <owner>gnome</owner>
+ <type>string</type>
+ <default>/desktop/gnome/interface/accessibility</default>
+ <locale name="C">
+ <short>GNOME modules for accessibility support</short>
+ <long>This key determines the GNOME modules to load for accessibility
+support.</long>
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]