From: David ‘Bombe’ Roden Date: Mon, 28 Dec 2009 21:59:05 +0000 (+0100) Subject: Show transfer rate in progress bar after insert has finished. X-Git-Tag: 0.9~46 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0738b9f85c31813c0a6f02b3a51422192c96eb31;p=jSite.git Show transfer rate in progress bar after insert has finished. --- diff --git a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java index 843499a..984e6df 100644 --- a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java @@ -337,7 +337,7 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl @SuppressWarnings("synthetic-access") public void run() { progressBar.setValue(progressBar.getMaximum()); - progressBar.setString(I18n.getMessage("jsite.insert.done")); + progressBar.setString(I18n.getMessage("jsite.insert.done") + " (" + getTransferRate() + " " + I18n.getMessage("jsite.insert.k-per-s") + ")"); wizard.setNextEnabled(true); wizard.setQuitEnabled(true); }