summaryrefslogtreecommitdiffstats
path: root/kgpg/kgpgoptions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-11 17:19:24 -0500
committerTimothy Pearson <[email protected]>2014-10-11 17:19:24 -0500
commita25a696e1de76f5bf6eaaf79785c2e0c16bae03d (patch)
tree766805bc1fcf6c0b88c156e094825074284014b6 /kgpg/kgpgoptions.cpp
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/kgpgoptions.cpp')
-rw-r--r--kgpg/kgpgoptions.cpp4
1 files changed, 2 insertions, 2 deletions
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"));