From f1e853c1cb7e71738ae4959354f6dca565bf4c6f Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 5 Jul 2014 13:08:48 -0400 Subject: [PATCH] Disable tray support on Elementary They followed Ubuntu in breaking any gtk trays.. --- src/common/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;