From 910b602ca120402a9e6fccd1301ebb4346597024 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 17:26:54 -0500 Subject: Second part of prior commit --- kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp | 4 ++-- kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp index d9930224e..eb96f682a 100644 --- a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp @@ -277,7 +277,7 @@ void FilterOptions::save() KSimpleConfig service(path + name + ".desktop"); service.setGroup("Desktop Entry"); service.writeEntry("Type", "Service"); - service.writeEntry("ServiceTypes", "SearchProvider"); + service.writeEntry("X-TDE-ServiceTypes", "SearchProvider"); service.writeEntry("Name", provider->name()); service.writeEntry("Query", provider->query(), true, false, true); service.writeEntry("Keys", provider->keys()); @@ -307,7 +307,7 @@ void FilterOptions::save() KSimpleConfig service(path + *it + ".desktop"); service.setGroup("Desktop Entry"); service.writeEntry("Type", "Service"); - service.writeEntry("ServiceTypes", "SearchProvider"); + service.writeEntry("X-TDE-ServiceTypes", "SearchProvider"); service.writeEntry("Hidden", true); } diff --git a/kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp b/kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp index 436a3225e..ae86c5836 100644 --- a/kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/kuriikwsfiltereng.cpp @@ -501,7 +501,7 @@ void KURISearchFilterEngine::loadConfig() KSimpleConfig desktop(kapp->dirs()->saveLocation("services", "searchproviders/") + name + ".desktop"); desktop.setGroup("Desktop Entry"); desktop.writeEntry("Type", "Service"); - desktop.writeEntry("ServiceTypes", "SearchProvider"); + desktop.writeEntry("X-TDE-ServiceTypes", "SearchProvider"); desktop.writeEntry("Name", *it); desktop.writeEntry("Query", query); desktop.writeEntry("Keys", keys); -- cgit v1.2.1