summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@dell.linux-foundation.org>2011-12-02 10:09:14 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-12-02 10:12:15 -0800
commit89ff2f5c5abb3cd6d54d59cd3f4aa81dd644ff9e (patch)
tree9506ab7c69ad3aa4349be166f51e81ddea280b7b
parent34823ef264b8049f83aeef1fe86d005eeba29345 (diff)
downloadpesconvert-89ff2f5c5abb3cd6d54d59cd3f4aa81dd644ff9e.tar.gz
Add thumbnailer entry for gnome3
gnome3 changed the rules for how thumbnailer applications work. For the better, but without any real documentation. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Makefile1
-rw-r--r--PES.thumbnailer3
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1faedf7..23681db 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ pesconvert: main.o pes.o svg.o png.o cairo.o
update-mime:
cp PES-Mime.xml /usr/share/mime/packages/
+ cp PES.thumbnailer /usr/share/thumbnailers/
update-mime-database /usr/share/mime
cp pesconvert /usr/local/bin/application-x-pesfile-thumbnailer
diff --git a/PES.thumbnailer b/PES.thumbnailer
new file mode 100644
index 0000000..f4b61db
--- /dev/null
+++ b/PES.thumbnailer
@@ -0,0 +1,3 @@
+[Thumbnailer Entry]
+Exec=application-x-pesfile-thumbnailer -s %s %i %o
+MimeType=application/x-pesfile;