From a25a696e1de76f5bf6eaaf79785c2e0c16bae03d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 17:19:24 -0500 Subject: Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications --- kgpg/kgpgoptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kgpg/kgpgoptions.cpp') 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")); -- cgit v1.2.1