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");
if (_helper.updateAvailable() || _helper.unsignedUpdateAvailable()) {
// display all the time so we display the final failure message
// 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()) {
if ("true".equals(System.getProperty(UpdateHandler.PROP_UPDATE_IN_PROGRESS))) {
// nothing
} else if(

View File

@ -1,3 +1,9 @@
2010-02-19 zzz
* i2psnark: Make file box bigger
* Plugins:
- Fix display of download status
- Unhide
2010-02-18 zzz
* Clock: Slew tweak
* i2psnark: Improve error message when finding HTML

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 2;
public final static long BUILD = 3;
/** for example "-test" */
public final static String EXTRA = "";