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) { 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() { public void run() {

View File

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

View File

@ -185,9 +185,9 @@ public class SummaryBarRenderer {
.append("</a></h4><hr>\n"); .append("</a></h4><hr>\n");
if (_helper.updateAvailable() || _helper.unsignedUpdateAvailable()) { // display all the time so we display the final failure message, and plugin update messages too
// display all the time so we display the final failure message
buf.append(UpdateHandler.getStatus()); buf.append(UpdateHandler.getStatus());
if (_helper.updateAvailable() || _helper.unsignedUpdateAvailable()) {
if ("true".equals(System.getProperty(UpdateHandler.PROP_UPDATE_IN_PROGRESS))) { if ("true".equals(System.getProperty(UpdateHandler.PROP_UPDATE_IN_PROGRESS))) {
// nothing // nothing
} else if( } 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 2010-02-18 zzz
* Clock: Slew tweak * Clock: Slew tweak
* i2psnark: Improve error message when finding HTML * i2psnark: Improve error message when finding HTML

View File

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