diff options
Diffstat (limited to 'klaptopdaemon/applnk/CMakeLists.txt')
-rw-r--r-- | klaptopdaemon/applnk/CMakeLists.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/klaptopdaemon/applnk/CMakeLists.txt b/klaptopdaemon/applnk/CMakeLists.txt index 926b330..095cd06 100644 --- a/klaptopdaemon/applnk/CMakeLists.txt +++ b/klaptopdaemon/applnk/CMakeLists.txt @@ -9,11 +9,15 @@ # ################################################# -install( FILES laptop.desktop pcmcia.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +foreach( _desktop laptop.desktop pcmcia.desktop ) + tde_create_translated_desktop( + SOURCE ${_desktop} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops + ) +endforeach() -install( FILES klaptopdaemon.desktop +tde_create_translated_desktop( + SOURCE klaptopdaemon.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops ) - |