diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-05-18 14:29:04 -0400 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-05-18 14:29:04 -0400 |
commit | ea5b5e0430c52c0dbc1a1e79d8a1fa1036cdc51b (patch) | |
tree | af42a9817b562641bf473bd6c87526b306820700 /bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse | |
parent | 919772fa8b23ee6c933e0492c90c86fe6aae373f (diff) | |
download | eclipse.platform.swt-ea5b5e0430c52c0dbc1a1e79d8a1fa1036cdc51b.tar.gz eclipse.platform.swt-ea5b5e0430c52c0dbc1a1e79d8a1fa1036cdc51b.tar.xz eclipse.platform.swt-ea5b5e0430c52c0dbc1a1e79d8a1fa1036cdc51b.zip |
Bug 379446 - FileDialog hangs when choosing download destination with
WebKitGTK 1.8.x (natives)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java index 32dc27140d..febdb0dd71 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java @@ -1615,7 +1615,7 @@ int /*long*/ webkit_download_requested (int /*long*/ web_view, int /*long*/ down browser.getDisplay ().asyncExec (new Runnable () { public void run () { if (!browser.isDisposed ()) { - FileDialog dialog = new FileDialog (browser.getShell (), SWT.OPEN); + FileDialog dialog = new FileDialog (browser.getShell (), SWT.SAVE); dialog.setFileName (nameString); String title = Compatibility.getMessage ("SWT_FileDownload"); //$NON-NLS-1$ dialog.setText (title); |