* systray now fully integrated into global ant build

* removed two unneeded test files i2psystray.bat, i2psystray.sh
This commit is contained in:
hypercubus
2004-08-24 06:58:05 +00:00
committed by zzz
parent 920161bc07
commit d70c22d73f
6 changed files with 26 additions and 26 deletions

View File

@ -3,7 +3,7 @@ package net.i2p.router.web;
import net.i2p.router.ClientTunnelSettings;
import net.i2p.router.Router;
//import net.i2p.apps.systray.SysTray;
import net.i2p.apps.systray.SysTray;
import org.tanukisoftware.wrapper.WrapperManager;
/**
@ -31,12 +31,12 @@ public class ConfigServiceHandler extends FormHandler {
} else if ("Dump threads".equals(_action)) {
WrapperManager.requestThreadDump();
addFormNotice("Threads dumped to logs/wrapper.log");
//} else if ("Show systray icon".equals(_action)) {
// SysTray.instance().show();
// addFormNotice("Systray icon enabled (if possible)");
//} else if ("Hide systray icon".equals(_action)) {
// SysTray.instance().hide();
// addFormNotice("Systray icon disabled");
} else if ("Show systray icon".equals(_action)) {
SysTray.getInstance().show();
addFormNotice("Systray icon enabled (if possible)");
} else if ("Hide systray icon".equals(_action)) {
SysTray.getInstance().hide();
addFormNotice("Systray icon disabled");
} else {
addFormNotice("Blah blah blah. whatever. I'm not going to " + _action);
}