Browse Source

Add a desktop for the Verify operation.

Detached signatures have a separate MIME type, so let's have a
separate DES-EMA file to handle them. It should have been possible
to simply add the 'application/pgp-signature' type to the list
of MIME types handled by the decrypt.desktop file, but at least
with PCManFM it does not seem to work (only the first MIME type
of the list seems taken into account).
master
Damien Goutte-Gattat 2 years ago
parent
commit
a18ad9ddf7
  1. 10
      extra/Makefile.am
  2. 8
      extra/verify.desktop.in

10
extra/Makefile.am

@ -1,8 +1,8 @@
pkgdata_DATA = encrypt.desktop decrypt.desktop
pkgdata_DATA = encrypt.desktop decrypt.desktop verify.desktop
dist_noinst_DATA = encrypt.desktop.in decrypt.desktop.in
dist_noinst_DATA = encrypt.desktop.in decrypt.desktop.in verify.desktop.in
encrypt.desktop decrypt.desktop: Makefile
encrypt.desktop decrypt.desktop verify.desktop: Makefile
rm -f $@
srcdir=''; \
test -f ./@.in || srcdir=$(srcdir)/; \
@ -12,4 +12,6 @@ encrypt.desktop: $(srcdir)/encrypt.desktop.in
decrypt.desktop: $(srcdir)/decrypt.desktop.in
CLEANFILES = encrypt.desktop decrypt.desktop
verify.desktop: $(srcdir)/verify.desktop.in
CLEANFILES = encrypt.desktop decrypt.desktop verify.desktop

8
extra/verify.desktop.in

@ -0,0 +1,8 @@
[Desktop Entry]
Name = Verify
Profiles = on_file
[X-Action-Profile on_file]
MimeTypes = application/pgp-signature
SelectionCount = 1
Exec = @bindir@/yki -d %f
Loading…
Cancel
Save