git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@12851 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
Greeny 2010-11-02 21:24:20 +00:00
parent d235f6221e
commit 6c88070170
2 changed files with 4 additions and 6 deletions

View File

@ -81,5 +81,7 @@
<classpathentry kind="lib" path="ressourcen/libs/svnkit.jar" sourcepath="ressourcen/code-ressourcen/svnkitsrc.zip"/>
<classpathentry kind="lib" path="ressourcen/libs/laf/trident.jar"/>
<classpathentry kind="lib" path="ressourcen/libs_ext/junit-4.8.2.jar" sourcepath="ressourcen/code-ressourcen/junit-4.8.2-src.jar"/>
<classpathentry kind="lib" path="ressourcen/libs/sevenzipjbinding-AllPlatforms.jar"/>
<classpathentry kind="lib" path="ressourcen/libs/sevenzipjbinding.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -663,23 +663,19 @@ public class DownloadWatchDog implements ControlListener, DownloadControllerList
if (entry instanceof DownloadLink) {
stopMark.setSelected(true);
stopMark.setEnabled(true);
stopMark.setIcon("gui.images.stopmark.enabled");
stopMark.setToolTipText(JDL.LF(DownloadWatchDog.JDL_PREFIX + "stopmark.downloadlink", "Stopmark is set on Downloadlink: %s", ((DownloadLink) entry).getName()));
DownloadController.getInstance().fireDownloadLinkUpdate(entry);
} else if (entry instanceof FilePackage) {
stopMark.setSelected(true);
stopMark.setEnabled(true);
stopMark.setIcon("gui.images.stopmark.enabled");
stopMark.setToolTipText(JDL.LF(DownloadWatchDog.JDL_PREFIX + "stopmark.filepackage", "Stopmark is set on Filepackage: %s", ((FilePackage) entry).getName()));
DownloadController.getInstance().fireDownloadLinkUpdate(((FilePackage) entry).get(0));
} else if (entry == DownloadWatchDog.hiddenstopMark) {
stopMark.setSelected(true);
stopMark.setEnabled(true);
stopMark.setIcon("gui.images.stopmark.enabled");
stopMark.setToolTipText(JDL.L(DownloadWatchDog.JDL_PREFIX + "stopmark.set", "Stopmark is still set!"));
} else if (entry == DownloadWatchDog.nostopMark) {
stopMark.setSelected(false);
stopMark.setIcon("gui.images.stopmark.disabled");
stopMark.setToolTipText(JDL.L("jd.gui.swing.jdgui.actions.actioncontroller.toolbar.control.stopmark.tooltip", "Stop after current Downloads"));
}
}
@ -839,7 +835,7 @@ public class DownloadWatchDog implements ControlListener, DownloadControllerList
* plugins that allow resume
* and parallel downloads
*/
waitingNewIP=true;
waitingNewIP = true;
IPController.getInstance().invalidate();
}
updates.add(link);
@ -866,7 +862,7 @@ public class DownloadWatchDog implements ControlListener, DownloadControllerList
* plugins that allow resume and
* parallel downloads
*/
waitingNewIP=true;
waitingNewIP = true;
IPController.getInstance().invalidate();
}
updates.add(link);