diff --git a/src/dorkbox/systemTray/SystemTray.java b/src/dorkbox/systemTray/SystemTray.java index 1d64191..8bba168 100644 --- a/src/dorkbox/systemTray/SystemTray.java +++ b/src/dorkbox/systemTray/SystemTray.java @@ -503,6 +503,8 @@ class SystemTray { useNativeMenus = true; } + // ElementaryOS shows the checkbox on the right, everyone else is on the left. + // With eOS, we CANNOT show the spacer image. It does not work trayType = selectTypeQuietly(useNativeMenus, TrayType.AppIndicator); } else if ("gnome".equalsIgnoreCase(XDG)) { diff --git a/src/dorkbox/systemTray/nativeUI/GtkMenuItemCheckbox.java b/src/dorkbox/systemTray/nativeUI/GtkMenuItemCheckbox.java index 1ed200b..634feb5 100644 --- a/src/dorkbox/systemTray/nativeUI/GtkMenuItemCheckbox.java +++ b/src/dorkbox/systemTray/nativeUI/GtkMenuItemCheckbox.java @@ -28,6 +28,7 @@ import dorkbox.systemTray.jna.linux.Gobject; import dorkbox.systemTray.jna.linux.Gtk; import dorkbox.systemTray.peer.CheckboxPeer; +// ElementaryOS shows the checkbox on the right, everyone else is on the left. With eOS, we CANNOT show the spacer image. It does not work class GtkMenuItemCheckbox extends GtkBaseMenuItem implements CheckboxPeer, GCallback { @SuppressWarnings({"FieldCanBeLocal", "unused"}) private final NativeLong nativeLong;