Browse Source

Fix desktop files.

There should be no spaces between MIME types in desktop files.
master
parent
commit
9c58b4d4c3
  1. 10
      extra/Makefile.am
  2. 2
      extra/decrypt.desktop.in
  3. 2
      extra/encrypt.desktop.in
  4. 8
      extra/verify.desktop.in

10
extra/Makefile.am

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

2
extra/decrypt.desktop.in

@ -3,6 +3,6 @@ Name = Decrypt/Verify
Profiles = on_file
[X-Action-Profile on_file]
MimeTypes = application/pgp-encrypted
MimeTypes = application/pgp-encrypted;application/pgp-signature
SelectionCount = 1
Exec = @bindir@/yki -d %f

2
extra/encrypt.desktop.in

@ -3,6 +3,6 @@ Name = Encrypt/Sign
Profiles = on_file
[X-Action-Profile on_file]
MimeTypes = all/allfiles; !application/pgp-encrypted;
MimeTypes = all/allfiles;!application/pgp-encrypted;!application/pgp-signature
SelectionCount = 1
Exec = @bindir@/yki -e %f

8
extra/verify.desktop.in

@ -1,8 +0,0 @@
[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