From 51ef6fef00479313e11b6ad55656c77aabcdb817 Mon Sep 17 00:00:00 2001 From: Wim Jongman Date: Tue, 10 Dec 2024 15:32:19 +0100 Subject: [PATCH] Browser templates view should not use SWT.WEBKIT as browser style #1509 Switched to SWT.DEFAULT to activate default browser --- .../templates_3.1/browserView/java/$className$.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/org.eclipse.pde.ui.templates/templates_3.1/browserView/java/$className$.java b/ui/org.eclipse.pde.ui.templates/templates_3.1/browserView/java/$className$.java index d5f4889b54..31d9b7d625 100644 --- a/ui/org.eclipse.pde.ui.templates/templates_3.1/browserView/java/$className$.java +++ b/ui/org.eclipse.pde.ui.templates/templates_3.1/browserView/java/$className$.java @@ -54,7 +54,7 @@ public class $className$ extends ViewPart implements ISelectionListener { @Override public void createPartControl(Composite parent) { - fBrowser = new Browser(parent, SWT.WEBKIT); + fBrowser = new Browser(parent, SWT.DEFAULT); fBrowser.setText(getContent()); BrowserFunction prefs = new OpenPreferenceFunction(fBrowser, "openEclipsePreferences", () -> { PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(shell, null, null, null);