DTG: Show all CRIT messages on DTG.

Experimental, may add a separate config or disable later.
Show I2P starting message in DTG
This commit is contained in:
zzz
2021-12-04 09:50:08 -05:00
parent 87362fd68b
commit 962cc31f31
2 changed files with 42 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package net.i2p.desktopgui;
import java.awt.AWTException;
import java.awt.Desktop;
import java.awt.Desktop.Action;
import java.awt.MenuItem;
@@ -44,6 +45,14 @@ class InternalTrayManager extends TrayManager {
log = ctx.logManager().getLog(InternalTrayManager.class);
}
/**
* @since 0.9.53
*/
public void startManager() throws AWTException {
super.startManager();
displayMessage(Log.INFO, _t("Starting"), _t("I2P is starting!"), null);
}
public synchronized PopupMenu getMainMenu() {
PopupMenu popup = new PopupMenu();