mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-26 21:40:38 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@27344 ebf7c1c2-ba36-0410-9fe8-c592906822b4
Former-commit-id: 2ccb5d8307d8c37140e2732179ae6abb1526a4c9
This commit is contained in:
parent
2ffb74b031
commit
dc40eb89d3
@ -84,6 +84,6 @@
|
||||
<classpathentry kind="lib" path="ressourcen/libs/laf/syntheticaAluOxide.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/laf/syntheticaBlueLight.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/laf/syntheticaClassy.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/swt/windows/x64/swt.jar" sourcepath="dev/libs/SWT/src.zip"/>
|
||||
<classpathentry kind="var" path="SWT_PLATFORM/swt.jar" sourcepath="dev/libs/SWT/src.zip"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
BIN
dev/libs/SWT/src.zip
Normal file
BIN
dev/libs/SWT/src.zip
Normal file
Binary file not shown.
@ -49,7 +49,11 @@ public class JWebBrowser extends MigPanel implements ProgressListener, LocationL
|
||||
cls = Class.forName("org.eclipse.swt.internal.win32.OS");
|
||||
|
||||
Method method = cls.getMethod("CoInternetSetFeatureEnabled", new Class[] { int.class, int.class, boolean.class });
|
||||
method.invoke(null, org.eclipse.swt.internal.win32.OS.FEATURE_DISABLE_NAVIGATION_SOUNDS, org.eclipse.swt.internal.win32.OS.SET_FEATURE_ON_PROCESS, true);
|
||||
method.invoke(null, /* org.eclipse.swt.internal.win32.OS.FEATURE_DISABLE_NAVIGATION_SOUNDS */32, /*
|
||||
* org.eclipse.swt.internal.
|
||||
* win32
|
||||
* .OS.SET_FEATURE_ON_PROCESS
|
||||
*/2, true);
|
||||
} catch (Throwable e) {
|
||||
throw new WTFException("SWT Library Missing ", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user