Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
tell non-windows users about the tray-icon
lotus8a19be24deac
diff --git a/htroot/Status.java b/htroot/Status.javaindex 7af58180c..eecc9d55c 100644--- a/htroot/Status.java+++ b/htroot/Status.java@@ -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");diff --git a/htroot/Status_p.inc b/htroot/Status_p.incindex 34fe8c31a..4d7b261b6 100644--- a/htroot/Status_p.inc+++ b/htroot/Status_p.inc@@ -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>