aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend-dbus/actions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c
index 0369755..b1fa8ac 100644
--- a/src/backend-dbus/actions.c
+++ b/src/backend-dbus/actions.c
@@ -717,6 +717,9 @@ have_unity_control_center (void)
gchar *path;
gboolean have_ucc;
+ if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity") != 0)
+ return FALSE;
+
path = g_find_program_in_path ("unity-control-center");
have_ucc = path != NULL;
g_free (path);