From 1b4e7b8ffa2c1997eebb98c8e53644037019a71d Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Thu, 9 Jan 2003 14:56:40 +0000 Subject: [PATCH] look for gconftool. 2003-01-09 James Henstridge * configure.in: look for gconftool. * src/fontilus.schemas.in: add schemas to set up thumbnailing. --- vfs-methods/fontilus/.cvsignore | 2 +- vfs-methods/fontilus/ChangeLog | 6 ++ vfs-methods/fontilus/Makefile.am | 13 ++- vfs-methods/fontilus/fontilus.schemas.in | 109 +++++++++++++++++++++++ 4 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 vfs-methods/fontilus/fontilus.schemas.in diff --git a/vfs-methods/fontilus/.cvsignore b/vfs-methods/fontilus/.cvsignore index 047d3dbf2..4e244b836 100644 --- a/vfs-methods/fontilus/.cvsignore +++ b/vfs-methods/fontilus/.cvsignore @@ -9,4 +9,4 @@ Makefile.in gnome-thumbnail-font gnome-font-viewer font-method.directory - +fontilus.schemas diff --git a/vfs-methods/fontilus/ChangeLog b/vfs-methods/fontilus/ChangeLog index 3829add1e..a151eefd5 100644 --- a/vfs-methods/fontilus/ChangeLog +++ b/vfs-methods/fontilus/ChangeLog @@ -1,3 +1,9 @@ +2003-01-09 James Henstridge + + * configure.in: look for gconftool. + + * src/fontilus.schemas.in: add schemas to set up thumbnailing. + 2002-12-28 James Henstridge * src/font-view.c (main): actually turn on internationalisation. diff --git a/vfs-methods/fontilus/Makefile.am b/vfs-methods/fontilus/Makefile.am index b194c68fb..4aa449ef6 100644 --- a/vfs-methods/fontilus/Makefile.am +++ b/vfs-methods/fontilus/Makefile.am @@ -32,9 +32,20 @@ mimeinfo_DATA = fontilus.keys fontilus.mime appregdir = $(datadir)/application-registry 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 = \ font-method.conf \ font-method.directory.in \ fontilus.keys \ fontilus.mime \ - fontilus.applications + fontilus.applications \ + fontilus.schemas.in diff --git a/vfs-methods/fontilus/fontilus.schemas.in b/vfs-methods/fontilus/fontilus.schemas.in new file mode 100644 index 000000000..b98936794 --- /dev/null +++ b/vfs-methods/fontilus/fontilus.schemas.in @@ -0,0 +1,109 @@ + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-ttf/command + /desktop/gnome/thumbnailers/application@x-font-ttf/command + string + gnome-thumbnail-font %u %o + + Thumbnail command for TrueType fonts + + Set this key to the command used to create thumbnails for + TrueType fonts. + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-ttf/enable + /desktop/gnome/thumbnailers/application@x-font-ttf/enable + bool + true + + Whether to thumbnail TrueType fonts + + If set to true, then TrueType fonts will be thumbnailed. + + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-type1/command + /desktop/gnome/thumbnailers/application@x-font-type1/command + string + gnome-thumbnail-font %u %o + + Thumbnail command for Type1 fonts + + Set this key to the command used to create thumbnails for + Type1 fonts. + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-type1/enable + /desktop/gnome/thumbnailers/application@x-font-type1/enable + bool + true + + Whether to thumbnail Type1 fonts + + If set to true, then Type1 fonts will be thumbnailed. + + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-pcf/command + /desktop/gnome/thumbnailers/application@x-font-pcf/command + string + gnome-thumbnail-font %u %o + + Thumbnail command for PCF fonts + + Set this key to the command used to create thumbnails for + PCF fonts. + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-pcf/enable + /desktop/gnome/thumbnailers/application@x-font-pcf/enable + bool + true + + Whether to thumbnail PCF fonts + + If set to true, then PCF fonts will be thumbnailed. + + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-otf/command + /desktop/gnome/thumbnailers/application@x-font-otf/command + string + gnome-thumbnail-font %u %o + + Thumbnail command for OpenType fonts + + Set this key to the command used to create thumbnails for + OpenType fonts. + + + + + /schemas/desktop/gnome/thumbnailers/application@x-font-otf/enable + /desktop/gnome/thumbnailers/application@x-font-otf/enable + bool + true + + Whether to thumbnail OpenType fonts + + If set to true, then OpenType fonts will be thumbnailed. + + + + + +