Updated SystemTray and Extension for Debian 8.5/8.6 + Gnome3. It does
not work (on a default install)
This commit is contained in:
parent
b9ab6a79c2
commit
e61723dd5b
|
@ -548,6 +548,16 @@ class SystemTray {
|
|||
else if ("cinnamon".equalsIgnoreCase(GDM)) {
|
||||
trayType = selectTypeQuietly(useNativeMenus, TrayType.GtkStatusIcon);
|
||||
}
|
||||
else if ("default".equalsIgnoreCase(GDM)) {
|
||||
// this can be gnome3 on debian
|
||||
|
||||
if (OSUtil.Linux.isDebian()) {
|
||||
// note: Debian Gnome3 does NOT work! (tested on Debian 8.5 and 8.6 default installs)
|
||||
logger.warn("Debian with Gnome detected. SystemTray support is not known to work.");
|
||||
}
|
||||
|
||||
trayType = selectTypeQuietly(useNativeMenus, TrayType.GtkStatusIcon);
|
||||
}
|
||||
else if ("gnome-classic".equalsIgnoreCase(GDM)) {
|
||||
trayType = selectTypeQuietly(useNativeMenus, TrayType.GtkStatusIcon);
|
||||
}
|
||||
|
|
|
@ -214,7 +214,9 @@ class Extension {
|
|||
*/
|
||||
public static
|
||||
void install() {
|
||||
if (!ENABLE_EXTENSION_INSTALL || !OSUtil.DesktopEnv.isGnome()) {
|
||||
boolean isGnome = OSUtil.DesktopEnv.isGnome();
|
||||
if (!ENABLE_EXTENSION_INSTALL || !isGnome || (isGnome && OSUtil.Linux.isDebian())) {
|
||||
// note: Debian Gnome3 does NOT work! (tested on Debian 8.5 and 8.6 default installs)
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user