diff --git a/htroot/Steering.java b/htroot/Steering.java index d364f116c..e28a70648 100644 --- a/htroot/Steering.java +++ b/htroot/Steering.java @@ -55,14 +55,14 @@ public class Steering { if (post.containsKey("shutdown")) { sb.terminate(5000); prop.put("info", "3"); - if(yacyTray.isShown) sb.yacytray.displayBalloonMessage("Shutdown", "YaCy will terminate after working off all scheduled tasks."); + return prop; } if (post.containsKey("restart")) { yacyVersion.restart(); prop.put("info", "4"); - if(yacyTray.isShown) sb.yacytray.displayBalloonMessage("Restart", "YaCy will restart after working off all scheduled tasks."); + return prop; } @@ -75,7 +75,7 @@ public class Steering { } prop.put("info", "5"); prop.put("info_release", releaseFileName); - if(yacyTray.isShown) sb.yacytray.displayBalloonMessage("Update", "YaCy will be restarted after installation."); + return prop; } return prop;