src/solaris/native/java/lang/java_props_md.c
Print this page
*** 403,414 ****
sprops.os_arch = ARCHPROPNAME;
if (getenv("GNOME_DESKTOP_SESSION_ID") != NULL) {
sprops.desktop = "gnome";
! }
! else {
sprops.desktop = NULL;
}
}
/* Determine the language, country, variant, and encoding from the host,
--- 403,416 ----
sprops.os_arch = ARCHPROPNAME;
if (getenv("GNOME_DESKTOP_SESSION_ID") != NULL) {
sprops.desktop = "gnome";
! } else if ((strcmp(getenv("DESKTOP_SESSION"), "xfce") == 0) ||
! (strcmp(getenv("DESKTOP_SESSION"), "xfce4") == 0)) {
! sprops.desktop = "xfce";
! } else {
sprops.desktop = NULL;
}
}
/* Determine the language, country, variant, and encoding from the host,