Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--thumbnailer/Makefile.am18
-rw-r--r--thumbnailer/evince-thumbnailer-djvu.schemas30
-rw-r--r--thumbnailer/evince-thumbnailer-dvi.schemas30
4 files changed, 84 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 58f6f66..d827d3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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:
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
index 81575eb..08bba91 100644
--- a/thumbnailer/Makefile.am
+++ b/thumbnailer/Makefile.am
@@ -29,7 +29,21 @@ evince_thumbnailer_LDADD= \
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:
@@ -42,6 +56,6 @@ if GCONF_SCHEMAS_INSTALL
endif
EXTRA_DIST = \
- $(pixmap_DATA) \
- $(schema_DATA)
+ $(pixmap_DATA) \
+ $(schema_files)
diff --git a/thumbnailer/evince-thumbnailer-djvu.schemas b/thumbnailer/evince-thumbnailer-djvu.schemas
new file mode 100644
index 0000000..017c757
--- /dev/null
+++ b/thumbnailer/evince-thumbnailer-djvu.schemas
@@ -0,0 +1,30 @@
+<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>
diff --git a/thumbnailer/evince-thumbnailer-dvi.schemas b/thumbnailer/evince-thumbnailer-dvi.schemas
new file mode 100644
index 0000000..fe74c61
--- /dev/null
+++ b/thumbnailer/evince-thumbnailer-dvi.schemas
@@ -0,0 +1,30 @@
+<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>