summaryrefslogtreecommitdiffstats
path: root/part
diff options
context:
space:
mode:
Diffstat (limited to 'part')
-rw-r--r--part/CMakeLists.txt4
-rw-r--r--part/kxmleditorpart.desktop8
2 files changed, 6 insertions, 6 deletions
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt
index 58e5261..f515ba8 100644
--- a/part/CMakeLists.txt
+++ b/part/CMakeLists.txt
@@ -68,7 +68,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
-install(
- FILES kxmleditorpart.desktop
+tde_create_translated_desktop(
+ SOURCE kxmleditorpart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
diff --git a/part/kxmleditorpart.desktop b/part/kxmleditorpart.desktop
index f97f368..136f9e9 100644
--- a/part/kxmleditorpart.desktop
+++ b/part/kxmleditorpart.desktop
@@ -1,9 +1,9 @@
[Desktop Entry]
Name=KXMLEditorPart
-Name[de]=KXMLEditor-Objekt
-MimeType=text/xml;
-X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
-X-TDE-Library=libkxmleditorpart
+
Type=Service
Icon=kxmleditor
MiniIcon=kxmleditor
+MimeType=text/xml;
+X-TDE-Library=libkxmleditorpart
+X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart