Browse Source

Fix desktop files.

There should be no spaces between MIME types in desktop files.
tags/yorkie-0.2.0
Damien Goutte-Gattat 4 months ago
parent
commit
9c58b4d4c3
4 changed files with 6 additions and 16 deletions
  1. +4
    -6
      extra/Makefile.am
  2. +1
    -1
      extra/decrypt.desktop.in
  3. +1
    -1
      extra/encrypt.desktop.in
  4. +0
    -8
      extra/verify.desktop.in

+ 4
- 6
extra/Makefile.am View File

@@ -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

+ 1
- 1
extra/decrypt.desktop.in View File

@@ -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

+ 1
- 1
extra/encrypt.desktop.in View File

@@ -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

+ 0
- 8
extra/verify.desktop.in View File

@@ -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