From bbc1d59985f45d1d524960011af89ae9ae090ef3 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 10 Jul 2017 10:40:04 +0000 Subject: [PATCH] #1568: shadow servers don't work with python3 git-svn-id: https://xpra.org/svn/Xpra/trunk@16277 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/platform/xposix/features.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xpra/platform/xposix/features.py b/src/xpra/platform/xposix/features.py index 678f229150..19e435dc91 100644 --- a/src/xpra/platform/xposix/features.py +++ b/src/xpra/platform/xposix/features.py @@ -4,9 +4,11 @@ # later version. See the file COPYING for details. #don't bother trying to forward system tray with Ubuntu's "unity": -from xpra.os_util import is_unity +from xpra.os_util import is_unity, PYTHON2 SYSTEM_TRAY_SUPPORTED = not is_unity() +SHADOW_SUPPORTED = PYTHON2 + DEFAULT_ENV = [ "#avoid Ubuntu's global menu, which is a mess and cannot be forwarded:", "UBUNTU_MENUPROXY=",