Added exception to GTK load ordering for Kali (it has rendering issues

with GTK3. GTK2 looks just fine)
This commit is contained in:
nathan 2017-07-18 16:40:15 +02:00
parent c84f6e02cb
commit 1abe7b60ab
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,12 @@ class GtkLoader {
_isLoaded = true;
}
if (OSUtil.Linux.isKali()) {
// Kali linux has some WEIRD graphical oddities via GTK3. GTK2 looks just fine.
shouldUseGtk2 = true;
}
// we can force the system to use the swing indicator, which WORKS, but doesn't support transparency in the icon. However, there
// are certain GTK functions we might want to use (even if we are Swing or AWT), so we load GTK anyways...