simplified isUnity() calls. comment polish
This commit is contained in:
parent
7154447c09
commit
ee480b0e11
|
@ -706,7 +706,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 (de == OSUtil.DesktopEnv.Env.Unity || de == OSUtil.DesktopEnv.Env.Unity7 && OSUtil.Linux.isUbuntu()) {
|
if (OSUtil.DesktopEnv.isUnity(de) && OSUtil.Linux.isUbuntu()) {
|
||||||
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