bugfix: xfce is now correctly detected

git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@442 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
angryziber 2009-03-18 18:40:40 +00:00
parent 832c762987
commit 0feff04fcf

View File

@ -99,7 +99,7 @@ public class TerminalLauncher {
workingTerminal = GNOME;
}
else
if (Runtime.getRuntime().exec(new String[] {"pidof", "xfce4-session xfwm4 Thunar xfdesktop"}).waitFor() == 0) {
if (Runtime.getRuntime().exec(new String[] {"pidof", "xfce4-session", "xfwm4", "Thunar", "xfdesktop"}).waitFor() == 0) {
workingTerminal = XFCE;
}
else