forked from I2P_Developers/i2p.i2p
Console: Fix sidebar status when updating plugin (ticket #2137)
This commit is contained in:
@ -133,6 +133,17 @@ class PluginUpdateRunner extends UpdateRunner {
|
|||||||
_mgr.notifyTaskFailed(this, _errMsg, null);
|
_mgr.notifyTaskFailed(this, _errMsg, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Overridden to change the "Updating I2P" text in super
|
||||||
|
* @since 0.9.35
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void bytesTransferred(long alreadyTransferred, int currentWrite, long bytesTransferred, long bytesRemaining, String url) {
|
||||||
|
long d = currentWrite + bytesTransferred;
|
||||||
|
String status = "<b>" + _t("Downloading plugin") + ": " + _appName + "</b>";
|
||||||
|
_mgr.notifyProgress(this, status, d, d + bytesRemaining);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {
|
public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {
|
||||||
if (!(_xpi2pURL.startsWith("file:") || _method == UpdateMethod.FILE))
|
if (!(_xpi2pURL.startsWith("file:") || _method == UpdateMethod.FILE))
|
||||||
|
@ -1,7 +1,15 @@
|
|||||||
|
2018-04-17 zzz
|
||||||
|
* Console: Fix sidebar status when updating plugin (ticket #2137)
|
||||||
|
|
||||||
|
2018-04-16 zzz
|
||||||
|
* Console: Add links to bandwidth graphs on /tunnels
|
||||||
|
* SusiMail: Move logging to router logs (ticket #2191)
|
||||||
|
|
||||||
2018-04-14 zzz
|
2018-04-14 zzz
|
||||||
* Console: Add built-by to /logs (ticket #2204)
|
* Console: Add built-by to /logs (ticket #2204)
|
||||||
* CPUID: Fix TBM detection (ticket #2211)
|
* CPUID: Fix TBM detection (ticket #2211)
|
||||||
* Debian updates (ticket #2027, PR #15)
|
* Debian updates (ticket #2027, PR #15)
|
||||||
|
* i2ptunnel: Build restructuring
|
||||||
* Jetty: Fix quote in header line tripping XSS filter (ticket #2215)
|
* Jetty: Fix quote in header line tripping XSS filter (ticket #2215)
|
||||||
* SusiMail: Add folders, drafts, background sending (ticket #2087)
|
* SusiMail: Add folders, drafts, background sending (ticket #2087)
|
||||||
|
|
||||||
|
@ -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 = "";
|
||||||
|
Reference in New Issue
Block a user