diff options
author | Chris Goldthorpe | 2009-10-21 15:51:35 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2009-10-21 15:51:35 +0000 |
commit | 52d0ee56f6c512da5d9e4498c19cc467ab236e20 (patch) | |
tree | bd95aafd2a997adcf648acc232b41e6d1cc5b9a0 /bundles/org.eclipse.ui.browser | |
parent | 9c156c43b33ecb758bb60e1ad989986d171e0c93 (diff) | |
download | eclipse.platform.ui-52d0ee56f6c512da5d9e4498c19cc467ab236e20.tar.gz eclipse.platform.ui-52d0ee56f6c512da5d9e4498c19cc467ab236e20.tar.xz eclipse.platform.ui-52d0ee56f6c512da5d9e4498c19cc467ab236e20.zip |
Bug 292882 [IDE] [browser] Default external browser should be pre-configured on Solaris 10 sparc GTK:v20091023
Diffstat (limited to 'bundles/org.eclipse.ui.browser')
-rw-r--r-- | bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java b/bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java index 7c708fb0ac3..cfab8c46c05 100644 --- a/bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java +++ b/bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - Initial API and implementation + * Martin Oberhuber (Wind River) - [288140] allow default web browser on Solaris *******************************************************************************/ package org.eclipse.ui.internal.browser; @@ -152,7 +153,7 @@ public class WebBrowserUtil { public static boolean canUseSystemBrowser() { // Disabling system browser on Solaris due to bug 94497 - if (Platform.OS_SOLARIS.equals(Platform.getOS())) + if (Platform.OS_SOLARIS.equals(Platform.getOS()) && !Platform.WS_GTK.equals(Platform.getWS())) return false; return Program.findProgram("html") != null; //$NON-NLS-1$ } |