From 66958b3fe154b378f9bfd513b33ffeea656edbf4 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 4582eec6..1a6ed56e 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1893,7 +1893,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;