look for gconftool.

2003-01-09  James Henstridge  <james@daa.com.au>

    * configure.in: look for gconftool.

    * src/fontilus.schemas.in: add schemas to set up thumbnailing.
This commit is contained in:
James Henstridge 2003-01-09 14:56:40 +00:00 committed by James Henstridge
parent bd64a0a390
commit 1b4e7b8ffa
4 changed files with 128 additions and 2 deletions

View file

@ -9,4 +9,4 @@ Makefile.in
gnome-thumbnail-font gnome-thumbnail-font
gnome-font-viewer gnome-font-viewer
font-method.directory font-method.directory
fontilus.schemas

View file

@ -1,3 +1,9 @@
2003-01-09 James Henstridge <james@daa.com.au>
* configure.in: look for gconftool.
* src/fontilus.schemas.in: add schemas to set up thumbnailing.
2002-12-28 James Henstridge <james@daa.com.au> 2002-12-28 James Henstridge <james@daa.com.au>
* src/font-view.c (main): actually turn on internationalisation. * src/font-view.c (main): actually turn on internationalisation.

View file

@ -32,9 +32,20 @@ mimeinfo_DATA = fontilus.keys fontilus.mime
appregdir = $(datadir)/application-registry appregdir = $(datadir)/application-registry
appreg_DATA = fontilus.applications appreg_DATA = fontilus.applications
schemasdir = $(sysconfdir)/gconf/schemas
schemas_DATA = fontilus.schemas
install-data-local:
if test -z "$(DESTDIR)"; then \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule fontilus.schemas; \
fi
@INTLTOOL_SCHEMAS_RULE@
EXTRA_DIST = \ EXTRA_DIST = \
font-method.conf \ font-method.conf \
font-method.directory.in \ font-method.directory.in \
fontilus.keys \ fontilus.keys \
fontilus.mime \ fontilus.mime \
fontilus.applications fontilus.applications \
fontilus.schemas.in

View file

@ -0,0 +1,109 @@
<?xml version="1.0"?>
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-ttf/command</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-ttf/command</applyto>
<type>string</type>
<default>gnome-thumbnail-font %u %o</default>
<locale name="C">
<short>Thumbnail command for TrueType fonts</short>
<long>
Set this key to the command used to create thumbnails for
TrueType fonts.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-ttf/enable</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-ttf/enable</applyto>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to thumbnail TrueType fonts</short>
<long>
If set to true, then TrueType fonts will be thumbnailed.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-type1/command</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-type1/command</applyto>
<type>string</type>
<default>gnome-thumbnail-font %u %o</default>
<locale name="C">
<short>Thumbnail command for Type1 fonts</short>
<long>
Set this key to the command used to create thumbnails for
Type1 fonts.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-type1/enable</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-type1/enable</applyto>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to thumbnail Type1 fonts</short>
<long>
If set to true, then Type1 fonts will be thumbnailed.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-pcf/command</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-pcf/command</applyto>
<type>string</type>
<default>gnome-thumbnail-font %u %o</default>
<locale name="C">
<short>Thumbnail command for PCF fonts</short>
<long>
Set this key to the command used to create thumbnails for
PCF fonts.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-pcf/enable</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-pcf/enable</applyto>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to thumbnail PCF fonts</short>
<long>
If set to true, then PCF fonts will be thumbnailed.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-otf/command</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-otf/command</applyto>
<type>string</type>
<default>gnome-thumbnail-font %u %o</default>
<locale name="C">
<short>Thumbnail command for OpenType fonts</short>
<long>
Set this key to the command used to create thumbnails for
OpenType fonts.
</long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/thumbnailers/application@x-font-otf/enable</key>
<applyto>/desktop/gnome/thumbnailers/application@x-font-otf/enable</applyto>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to thumbnail OpenType fonts</short>
<long>
If set to true, then OpenType fonts will be thumbnailed.
</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>