Skip to content

Commit

Permalink
#4181 most WM sadly no longer support StatusIcon nowadays
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Apr 4, 2024
1 parent bdde837 commit 0ffeab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/client/gtk3/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from xpra.util.env import envint, envbool, osexpand, first_time, IgnoreWarningsContext, ignorewarnings
from xpra.util.child_reaper import getChildReaper
from xpra.os_util import gi_import, WIN32, OSX, POSIX
from xpra.util.system import is_Wayland, is_gnome
from xpra.util.system import is_Wayland
from xpra.util.io import load_binary_file
from xpra.net.common import PacketType
from xpra.common import FULL_INFO, VIDEO_MAX_SIZE, NotificationID, DEFAULT_METADATA_SUPPORTED, noerr
Expand Down Expand Up @@ -807,7 +807,7 @@ def _add_statusicon_tray(self, tray_classes: list[type]) -> list[type]:
try:
from xpra.client.gtk3.statusicon_tray import GTKStatusIconTray
# unlikely to work with gnome:
PREFER_STATUSICON = envbool("XPRA_PREFER_STATUSICON", not (is_gnome() or WIN32 or OSX))
PREFER_STATUSICON = envbool("XPRA_PREFER_STATUSICON", False)
if PREFER_STATUSICON:
tray_classes.insert(0, GTKStatusIconTray)
else:
Expand Down

0 comments on commit 0ffeab6

Please sign in to comment.