aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt43
1 files changed, 0 insertions, 43 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index a3360cb..c45e1f9 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -62,46 +62,3 @@ set (UNITY_INDICATOR_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${UNITY_INDICATOR_NAME}")
install (FILES "${UNITY_INDICATOR_FILE}"
DESTINATION "${UNITY_INDICATOR_DIR}")
-
-
-##
-## gnome-control-center panel: .ui and .desktop files
-##
-
-if (BUILD_PANEL)
-
- # the .ui file
- install (FILES "datetime-dialog.ui"
- DESTINATION "${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}/gnome-control-center")
-
- # the .desktop file
- set (DESKTOP_NAME "gnome-indicator-datetime-panel.desktop")
- set (DESKTOP_FILE "${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_NAME}")
- set (DESKTOP_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${DESKTOP_NAME}.in")
- set (ENV{LC_ALL} "C")
- execute_process (COMMAND intltool-merge -quiet --desktop-style --utf8 "${CMAKE_SOURCE_DIR}/po" "${DESKTOP_FILE_IN}" "${DESKTOP_FILE}")
- install (FILES ${DESKTOP_FILE}
- DESTINATION "${CMAKE_INSTALL_DATADIR}/applications")
-
-endif ()
-
-##
-## unity-control-center panel: .ui and .desktop files
-##
-
-if (BUILD_UNITY_PANEL)
-
- # the .ui file
- install (FILES "datetime-dialog.ui"
- DESTINATION "${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}/unity-control-center")
-
- # the .desktop file
- set (DESKTOP_NAME "unity-datetime-panel.desktop")
- set (DESKTOP_FILE "${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_NAME}")
- set (DESKTOP_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${DESKTOP_NAME}.in")
- set (ENV{LC_ALL} "C")
- execute_process (COMMAND intltool-merge -quiet --desktop-style --utf8 "${CMAKE_SOURCE_DIR}/po" "${DESKTOP_FILE_IN}" "${DESKTOP_FILE}")
- install (FILES ${DESKTOP_FILE}
- DESTINATION "${CMAKE_INSTALL_DATADIR}/applications")
-
-endif ()