now using cached checks for os type
This commit is contained in:
parent
b01a4d5039
commit
3073f77fb3
@ -780,7 +780,7 @@ class SystemTray {
|
|||||||
if (isTrayType(trayType, TrayType.GtkStatusIcon)) {
|
if (isTrayType(trayType, TrayType.GtkStatusIcon)) {
|
||||||
OSUtil.DesktopEnv.Env de = OSUtil.DesktopEnv.get();
|
OSUtil.DesktopEnv.Env de = OSUtil.DesktopEnv.get();
|
||||||
|
|
||||||
if (OSUtil.DesktopEnv.isUnity(de) && OSUtil.Linux.isUbuntu()) {
|
if (OSUtil.Linux.isUbuntu() && OSUtil.DesktopEnv.isUnity(de)) {
|
||||||
if (AUTO_FIX_INCONSISTENCIES) {
|
if (AUTO_FIX_INCONSISTENCIES) {
|
||||||
// GTK2 does not support AppIndicators!
|
// GTK2 does not support AppIndicators!
|
||||||
if (Gtk.isGtk2) {
|
if (Gtk.isGtk2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user