diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2008-09-06 19:31:51 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2008-09-06 19:31:51 +0000 |
commit | 206bef988c5dfb8ec07f72ed820c48398643329f (patch) | |
tree | 4b7724aaf93cce6ea63fa0c79900620264746c8a /java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java | |
parent | . Update to Eclipse Europa, copied over from eclipse-devel. (diff) |
. Update to Eclipse Ganymede
Submitted by: "Stephane E. Potvin" <sepotvin@videotron.ca>
Notes
Notes:
svn path=/head/; revision=220010
Diffstat (limited to 'java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java')
-rw-r--r-- | java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java b/java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java deleted file mode 100644 index 86aeebc3b326..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-swt-mozilla-gtk-swt-browser-MozillaDelegate.java +++ /dev/null @@ -1,21 +0,0 @@ ---- plugins/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java.orig 2007-06-26 04:57:02.000000000 +0900 -+++ plugins/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java 2007-09-12 13:17:45.000000000 +0900 -@@ -26,14 +26,17 @@ - static final int STOP_PROPOGATE = 1; - - static boolean IsLinux; -+ static boolean IsFreeBSD; - static { - String osName = System.getProperty ("os.name").toLowerCase (); //$NON-NLS-1$ - IsLinux = osName.startsWith ("linux"); //$NON-NLS-1$ -+ IsFreeBSD = osName.startsWith ("freebsd"); //$NON-NLS-1$ -+ - } - - MozillaDelegate (Browser browser) { - super (); -- if (!IsLinux) { -+ if (!IsLinux && !IsFreeBSD) { - browser.dispose (); - SWT.error (SWT.ERROR_NO_HANDLES, null, " [Unsupported platform]"); //$NON-NLS-1$ - } |