+2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * thumbnailer/Makefile.am:
+ * thumbnailer/evince-thumbnailer-djvu.schemas:
+ * thumbnailer/evince-thumbnailer-dvi.schemas:
+
+ Conditionally install schemas for djvu/dvi thumbnailer
+
2005-04-18 David Malcolm <dmalcolm@redhat.com>
* shell/ev-document-types.h:
pixmapdir = $(pkgdatadir)
pixmap_DATA = pdf-icon.png
+schema_files = \
+ evince-thumbnailer-dvi.schemas \
+ evince-thumbnailer-djvu.schemas \
+ evince-thumbnailer.schemas
+
schema_DATA = evince-thumbnailer.schemas
+
+if ENABLE_DJVU
+schema_DATA += evince-thumbnailer-djvu.schemas
+endif
+
+if ENABLE_DVI
+schema_DATA += evince-thumbnailer-dvi.schemas
+endif
+
schemadir = $(GCONF_SCHEMA_FILE_DIR)
install-data-local:
endif
EXTRA_DIST = \
- $(pixmap_DATA) \
- $(schema_DATA)
+ $(pixmap_DATA) \
+ $(schema_files)
--- /dev/null
+<gconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/image@vnd.djvu/enable</key>
+ <applyto>/desktop/gnome/thumbnailers/image@vnd.djvu/enable</applyto>
+ <owner>evince</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/image@vnd.djvu/command</key>
+ <applyto>/desktop/gnome/thumbnailers/image@vnd.djvu/command</applyto>
+ <owner>evince</owner>
+ <type>string</type>
+ <default>evince-thumbnailer -s %s %u %o</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</gconfschemafile>
--- /dev/null
+<gconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-dvi/enable</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-dvi/enable</applyto>
+ <owner>evince</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+
+ <schema>
+ <key>/schemas/desktop/gnome/thumbnailers/application@x-dvi/command</key>
+ <applyto>/desktop/gnome/thumbnailers/application@x-dvi/command</applyto>
+ <owner>evince</owner>
+ <type>string</type>
+ <default>evince-thumbnailer -s %s %u %o</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</gconfschemafile>