unhide plugins, fix d/l status display

This commit is contained in:
zzz
2010-02-19 14:42:43 +00:00
parent 96735f2543
commit eae18e61b7
5 changed files with 11 additions and 5 deletions

View File

@ -41,7 +41,7 @@ public class PluginStarter implements Runnable {
}
static boolean pluginsEnabled(I2PAppContext ctx) {
return Boolean.valueOf(ctx.getProperty("router.enablePlugins")).booleanValue();
return Boolean.valueOf(ctx.getProperty("router.enablePlugins", "true")).booleanValue();
}
public void run() {

View File

@ -74,7 +74,7 @@ public class PluginUpdateChecker extends UpdateHandler {
_appName = appName;
_oldVersion = oldVersion;
System.setProperty(PROP_UPDATE_IN_PROGRESS, "true");
I2PAppThread update = new I2PAppThread(_pluginUpdateCheckerRunner, "AppChecker");
I2PAppThread update = new I2PAppThread(_pluginUpdateCheckerRunner, "AppChecker", true);
update.start();
}
}

View File

@ -185,9 +185,9 @@ public class SummaryBarRenderer {
.append("</a></h4><hr>\n");
// display all the time so we display the final failure message, and plugin update messages too
buf.append(UpdateHandler.getStatus());
if (_helper.updateAvailable() || _helper.unsignedUpdateAvailable()) {
// display all the time so we display the final failure message
buf.append(UpdateHandler.getStatus());
if ("true".equals(System.getProperty(UpdateHandler.PROP_UPDATE_IN_PROGRESS))) {
// nothing
} else if(