forked from dorkbox/SystemTray
Added more comments for eOS.
This commit is contained in:
parent
726a1034b0
commit
53647c8d4d
@ -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)) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user