summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:24 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:19:24 -0500
commita25a696e1de76f5bf6eaaf79785c2e0c16bae03d (patch)
tree766805bc1fcf6c0b88c156e094825074284014b6 /kgpg
parent77f3ed9cc39f4af6f6aa184bedcaef69b1430595 (diff)
downloadtdeutils-a25a696e1de76f5bf6eaaf79785c2e0c16bae03d.tar.gz
tdeutils-a25a696e1de76f5bf6eaaf79785c2e0c16bae03d.zip
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/encryptfile.desktop4
-rw-r--r--kgpg/encryptfolder.desktop2
-rw-r--r--kgpg/kgpg.desktop2
-rw-r--r--kgpg/kgpgoptions.cpp4
4 files changed, 6 insertions, 6 deletions
diff --git a/kgpg/encryptfile.desktop b/kgpg/encryptfile.desktop
index c117c30..382fa3d 100644
--- a/kgpg/encryptfile.desktop
+++ b/kgpg/encryptfile.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
-ServiceTypes=all/allfiles
-ExcludeServiceTypes=kdedevice/*
+X-TDE-ServiceTypes=all/allfiles
+X-TDE-ExcludeServiceTypes=kdedevice/*
Actions=encrypt
[Desktop Action encrypt]
diff --git a/kgpg/encryptfolder.desktop b/kgpg/encryptfolder.desktop
index 60083ba..0945f9b 100644
--- a/kgpg/encryptfolder.desktop
+++ b/kgpg/encryptfolder.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-ServiceTypes=inode/directory
+X-TDE-ServiceTypes=inode/directory
Actions=encrypt
[Desktop Action encrypt]
diff --git a/kgpg/kgpg.desktop b/kgpg/kgpg.desktop
index aff01e4..112088e 100644
--- a/kgpg/kgpg.desktop
+++ b/kgpg/kgpg.desktop
@@ -2,7 +2,7 @@
Type=Application
Exec=kgpg %U
Icon=kgpg
-DocPath=kgpg/index.html
+X-DocPath=kgpg/index.html
MimeType=application/pgp-encrypted;application/pgp-signature;application/pgp-keys;
GenericName=Encryption Tool
GenericName[ar]=أداة للتشفير
diff --git a/kgpg/kgpgoptions.cpp b/kgpg/kgpgoptions.cpp
index 37533ae..b1301d8 100644
--- a/kgpg/kgpgoptions.cpp
+++ b/kgpg/kgpgoptions.cpp
@@ -450,7 +450,7 @@ void kgpgOptions::slotInstallSign(TQString mimetype)
KDesktopFile configl2(path, false);
if (configl2.isImmutable() ==false) {
configl2.setGroup("Desktop Entry");
- configl2.writeEntry("ServiceTypes", mimetype);
+ configl2.writeEntry("X-TDE-ServiceTypes", mimetype);
configl2.writeEntry("Actions", "sign");
configl2.setGroup("Desktop Action sign");
configl2.writeEntry("Name",i18n("Sign File"));
@@ -467,7 +467,7 @@ void kgpgOptions::slotInstallDecrypt(TQString mimetype)
KDesktopFile configl2(path, false);
if (configl2.isImmutable() ==false) {
configl2.setGroup("Desktop Entry");
- configl2.writeEntry("ServiceTypes", mimetype);
+ configl2.writeEntry("X-TDE-ServiceTypes", mimetype);
configl2.writeEntry("Actions", "decrypt");
configl2.setGroup("Desktop Action decrypt");
configl2.writeEntry("Name",i18n("Decrypt File"));