mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-29 15:23:45 +00:00
client/systray: look for ubuntu gnome
Ubuntu gnome has a different name on at least 25.04. Updates #1708 Signed-off-by: Claus Lensbøl <claus@tailscale.com>
This commit is contained in:
parent
871f73d992
commit
d1ceb62e27
@ -128,7 +128,7 @@ func init() {
|
|||||||
|
|
||||||
desktop := strings.ToLower(os.Getenv("XDG_CURRENT_DESKTOP"))
|
desktop := strings.ToLower(os.Getenv("XDG_CURRENT_DESKTOP"))
|
||||||
switch desktop {
|
switch desktop {
|
||||||
case "gnome":
|
case "gnome", "ubuntu:gnome":
|
||||||
// GNOME expands submenus downward in the main menu, rather than flyouts to the side.
|
// GNOME expands submenus downward in the main menu, rather than flyouts to the side.
|
||||||
// Either as a result of that or another limitation, there seems to be a maximum depth of submenus.
|
// Either as a result of that or another limitation, there seems to be a maximum depth of submenus.
|
||||||
// Mullvad countries that have a city submenu are not being rendered, and so can't be selected.
|
// Mullvad countries that have a city submenu are not being rendered, and so can't be selected.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user