summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-07-05 13:08:48 -0400
committerTingPing <tingping@tingping.se>2014-07-05 13:08:48 -0400
commitf1e853c1cb7e71738ae4959354f6dca565bf4c6f (patch)
tree5db0e7e6b30598fb9ebc19c04483c57277d268f5 /src
parentaa7291fc9c12b4da9e233b52c6f2bac767d831b0 (diff)
Disable tray support on Elementary
They followed Ubuntu in breaking any gtk trays..
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index f0438344..ebaab563 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1547,7 +1547,8 @@ unity_mode ()
 {
 #ifdef G_OS_UNIX
 	const char *env = g_getenv("XDG_CURRENT_DESKTOP");
-	if (env && strcmp (env, "Unity") == 0)
+	if (env && (strcmp (env, "Unity") == 0
+			|| strcmp (env, "Pantheon") == 0))
 		return 1;
 #endif
 	return 0;