git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@16505 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
coalado 2012-05-03 14:50:36 +00:00
parent 8706aa8f00
commit 5dd7f1bda9
3 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="jd/ressourcen/libs/dbus"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="ressourcen/libs/BrowserLauncher2.jar"/>
<classpathentry kind="lib" path="ressourcen/libs/hsqldb.jar" sourcepath="ressourcen/code-ressourcen/hsqsql_src.zip"/>
<classpathentry kind="lib" path="ressourcen/libs/irclib.jar"/>
<classpathentry kind="lib" path="ressourcen/libs/js.jar"/>

Binary file not shown.

View File

@ -31,11 +31,10 @@ import org.appwork.swing.components.ExtButton;
import org.appwork.utils.event.predefined.changeevent.ChangeEvent;
import org.appwork.utils.event.predefined.changeevent.ChangeListener;
import org.appwork.utils.swing.EDTRunner;
import org.jdownloader.controlling.filter.LinkFilterSettings;
import org.jdownloader.gui.translate._GUI;
import org.jdownloader.gui.views.linkgrabber.actions.ConfirmAction;
import org.jdownloader.gui.views.linkgrabber.addlinksdialog.LinkgrabberSettings;
import org.jdownloader.images.NewTheme;
import org.jdownloader.settings.staticreferences.CFG_LINKFILTER;
public class AutoConfirmButton extends ExtButton implements ChangeListener, TableModelListener {
/**
@ -173,9 +172,10 @@ public class AutoConfirmButton extends ExtButton implements ChangeListener, Tabl
public void run() {
ArrayList<AbstractNode> list = new ArrayList<AbstractNode>();
boolean autoStart = org.jdownloader.settings.staticreferences.CFG_LINKFILTER.LINKGRABBER_AUTO_START_ENABLED.getValue();
for (CrawledLink l : LinkGrabberTableModel.getInstance().getAllChildrenNodes()) {
if (l.getLinkState() == LinkState.OFFLINE) continue;
if (l.isAutoConfirmEnabled()) {
if (l.isAutoConfirmEnabled() || CFG_LINKFILTER.LINKGRABBER_AUTO_CONFIRM_ENABLED.isEnabled()) {
list.add(l);
if (l.isAutoStartEnabled()) autoStart = true;
}