summaryrefslogtreecommitdiff
path: root/thumbnailer
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-09-03 20:12:09 -0300
committerPerberos <[email protected]>2012-09-03 20:12:09 -0300
commit0cee6386acad57fdafb374fb389bc80fcf7e8546 (patch)
tree1bfd4c9b24f3fe7b4084a5df65021fcd2d71913c /thumbnailer
parent4a8dcdbda9863e1bfdab874487696152599aaea5 (diff)
downloadatril-0cee6386acad57fdafb374fb389bc80fcf7e8546.tar.bz2
atril-0cee6386acad57fdafb374fb389bc80fcf7e8546.tar.xz
adding thumbnail support for xps backend
Diffstat (limited to 'thumbnailer')
-rw-r--r--thumbnailer/Makefile.am5
-rw-r--r--thumbnailer/atril-thumbnailer-xps.schemas.in30
2 files changed, 35 insertions, 0 deletions
diff --git a/thumbnailer/Makefile.am b/thumbnailer/Makefile.am
index 2a0b5501..776a9c67 100644
--- a/thumbnailer/Makefile.am
+++ b/thumbnailer/Makefile.am
@@ -33,6 +33,7 @@ schema_files = \
atril-thumbnailer-djvu.schemas.in \
atril-thumbnailer-comics.schemas.in \
atril-thumbnailer-ps.schemas.in \
+ atril-thumbnailer-xps.schemas.in \
atril-thumbnailer.schemas.in
if WITH_MATECONF
@@ -61,6 +62,10 @@ if ENABLE_COMICS
schema_DATA += atril-thumbnailer-comics.schemas
endif
+if ENABLE_XPS
+schema_DATA += atril-thumbnailer-xps.schemas
+endif
+
schemadir = $(MATECONF_SCHEMA_FILE_DIR)
install-data-local:
diff --git a/thumbnailer/atril-thumbnailer-xps.schemas.in b/thumbnailer/atril-thumbnailer-xps.schemas.in
new file mode 100644
index 00000000..9f07287d
--- /dev/null
+++ b/thumbnailer/atril-thumbnailer-xps.schemas.in
@@ -0,0 +1,30 @@
+<mateconfschemafile>
+ <schemalist>
+
+ <schema>
+ <key>/schemas/desktop/mate/thumbnailers/application@oxps/enable</key>
+ <applyto>/desktop/mate/thumbnailers/application@oxps/enable</applyto>
+ <owner>atril</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+
+ <schema>
+ <key>/schemas/desktop/mate/thumbnailers/application@oxps/command</key>
+ <applyto>/desktop/mate/thumbnailers/application@oxps/command</applyto>
+ <owner>atril</owner>
+ <type>string</type>
+ <default>atril-thumbnailer -s %s %u %o</default>
+ <locale name="C">
+ <short></short>
+ <long></long>
+ </locale>
+ </schema>
+
+ </schemalist>
+</mateconfschemafile>