tell non-windows users about the tray-icon

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6703 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 15 years ago
parent f5ec7ad077
commit 8a19be24de

@ -36,6 +36,7 @@ import net.yacy.kelondro.util.DateFormatter;
import net.yacy.kelondro.util.Domains;
import net.yacy.kelondro.util.Formatter;
import net.yacy.kelondro.util.MemoryControl;
import net.yacy.kelondro.util.OS;
import net.yacy.kelondro.workflow.WorkflowProcessor;
import de.anomic.http.server.HTTPDemon;
@ -275,7 +276,9 @@ public class Status {
prop.put("popup", "1");
}
if (sb.getConfig("trayIcon", "false").equals("false")) {
if (!OS.isWindows) {
prop.put("tray", "3");
} else if (sb.getConfig("trayIcon", "false").equals("false")) {
prop.put("tray", "0");
} else {
prop.put("tray", "1");

@ -61,6 +61,8 @@
Disabled <a href="Status.html?tray=true">[Enable]</a>
::
Enabled <a href="Status.html?tray=false">[Disable]</a>
::
<a href="ConfigProperties_p.html" onclick="alert('Set\ntrayIcon.force = true\n\nWARNING:\nYou do this on your own risk. If you do this without YaCy running on a desktop-pc or without Java 6 installed, this will possibly break startup. In this case, you will have to edit the configuration manually in DATA/SETTINGS/yacy.conf');">Experimental</a>
#(/tray)#
</dd>

Loading…
Cancel
Save