summaryrefslogtreecommitdiffstats
path: root/kcontrol/hwmanager/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/hwmanager/CMakeLists.txt')
-rw-r--r--kcontrol/hwmanager/CMakeLists.txt22
1 files changed, 15 insertions, 7 deletions
diff --git a/kcontrol/hwmanager/CMakeLists.txt b/kcontrol/hwmanager/CMakeLists.txt
index 954c41fc3..be8d3f2cb 100644
--- a/kcontrol/hwmanager/CMakeLists.txt
+++ b/kcontrol/hwmanager/CMakeLists.txt
@@ -24,13 +24,21 @@ link_directories(
##### other data ################################
-install( FILES hwmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES hwdevicetray.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
- RENAME tdehwdevicetray.desktop )
-install( FILES hwdevicetray-autostart.desktop
- DESTINATION ${AUTOSTART_INSTALL_DIR}
- RENAME tdehwdevicetray-autostart.desktop )
+tde_create_translated_desktop(
+ SOURCE hwmanager.desktop
+ PO_DIR kcontrol-desktops
+)
+tde_create_translated_desktop(
+ SOURCE hwdevicetray.desktop
+ OUTPUT_NAME tdehwdevicetray.desktop
+ PO_DIR kcontrol-desktops
+)
+tde_create_translated_desktop(
+ SOURCE hwdevicetray-autostart.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+ OUTPUT_NAME tdehwdevicetray-autostart.desktop
+ PO_DIR kcontrol-desktops
+)
##### kcm_iccconfig (module) ####################