Add schemas file

This commit is contained in:
William Jon McCann 2009-08-22 11:25:29 -04:00
parent fe7ee8b8be
commit 56361c81f3
3 changed files with 40 additions and 0 deletions

View file

@ -8,8 +8,16 @@ if HAVE_TYPING_BREAK
SUBDIRS += typing-break
endif
schemasdir = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = gnome-control-center.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
ACLOCAL_AMFLAGS = -I m4
CLEANFILES = \
$(schemas_DATA)
DISTCLEANFILES = \
gnome-doc-utils.make
@ -33,6 +41,7 @@ MAINTAINERCLEANFILES = \
`find "$(srcdir)" -type f -name Makefile.in -print`
EXTRA_DIST = \
$(schemas_in_files) \
MAINTAINERS \
gnome-doc-utils.make
@ -41,3 +50,12 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --disable-update-mimedb
GITIGNOREFILES=m4
-include $(top_srcdir)/git.mk
install-data-local:
if GCONF_SCHEMAS_INSTALL
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 >&1 > /dev/null; \
done \
fi
endif

View file

@ -0,0 +1,21 @@
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/apps/control-center/network/current_location</key>
<applyto>/apps/control-center/network/current_location</applyto>
<owner>control-center</owner>
<type>string</type>
<default>TRUE</default>
<locale name="C">
<short>Current network location</short>
<long>
Set this to your current location name. This is used to
determine the appropriate network proxy configuration.
</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>

View file

@ -1,6 +1,7 @@
# Add files with translateable strings here.
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
gnome-control-center.schemas.in
capplets/about-me/eel-alert-dialog.c
capplets/about-me/e-image-chooser.c
capplets/about-me/fingerprint-strings.h