aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/actions-live.cpp4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 810e299..2cea786 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,11 +7,6 @@ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS} ${GCO
add_definitions (-DTIMEZONE_FILE="/etc/timezone"
-DG_LOG_DOMAIN="Indicator-Datetime")
-# let service know how to launch gnome-control-center on the desktop
-if (BUILD_PANEL)
- add_definitions (-DHAVE_CCPANEL)
-endif ()
-
add_library (${SERVICE_LIB} STATIC
actions.cpp
actions-live.cpp
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index c0fd8ff..f510ed1 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -68,11 +68,7 @@ void LiveActions::open_desktop_settings()
}
else
{
-#ifdef HAVE_CCPANEL
- execute_command("gnome-control-center indicator-datetime");
-#else
execute_command("gnome-control-center datetime");
-#endif
}
g_free (path);