diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-04-18 21:23:17 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-04-18 21:23:17 (GMT) |
commit | 1a8a7520ef13e6d7a2f38e11e80c01cf76825d50 (patch) | |
tree | 2c0f3479464fbf6259a5029259c2d7153d6fa146 /thumbnailer | |
parent | f332d42bc834d6a7b0ec58bb8e073e63bc619f63 (diff) |
Conditionally install dvi and djvu thumbnailer schemas
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/Makefile.am | 18 | ||||
-rw-r--r-- | thumbnailer/evince-thumbnailer-djvu.schemas | 30 | ||||
-rw-r--r-- | thumbnailer/evince-thumbnailer-dvi.schemas | 30 |
3 files changed, 76 insertions, 2 deletions
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> |