Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 13:18:36 +0900 (JST)
From:      Ken Yamada <ken@tydfam.jp>
To:        mbowie@buzmo.com
Cc:        dan@rucci.org, freebsd-eclipse@freebsd.org
Subject:   Re: Eclipse-Europa Web-browser
Message-ID:  <20070911.131836.28781069.ken@tydfam.jp>
In-Reply-To: <46E5B86D.3040603@buzmo.com>
References:  <46E5B861.3080506@rucci.org> <46E5B86D.3040603@buzmo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  I'm not familiar with this, but from your error message, I created a patch andit seemingly make external browser -firefox- run.
  
  They are reflected to the http://www.tydfam.jp/eclipse-europa-dan.tgz.

--- 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-11 11:34:11.000000000 +0900
@@ -25,15 +25,15 @@
 	static int /*long*/ eventProc;
 	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 (!IsFreeBSD) {
 		browser.dispose ();
 		SWT.error (SWT.ERROR_NO_HANDLES, null, " [Unsupported platform]"); //$NON-NLS-1$
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070911.131836.28781069.ken>