[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-help-dev] Create new mozilla window
|
Right now help in Eclipse will reuse an existing Mozilla window.
I find this confusing. Usually I am using the Mozilla windows I have
open, and remembering to make a new window before asking Eclipse for
help is too roundabout.
So, I wrote the appended patch. This changes Eclipse to ask Mozilla
to create a new window.
I think this will also fix bugzilla 23750.
Tom
Index: src/org/eclipse/help/ui/internal/browser/linux/MozillaBrowserAdapter.java
===================================================================
RCS file: /usr/cygnus/eclipse-cvsroot/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/linux/MozillaBrowserAdapter.java,v
retrieving revision 1.3
diff -u -r1.3 MozillaBrowserAdapter.java
--- src/org/eclipse/help/ui/internal/browser/linux/MozillaBrowserAdapter.java 21 Oct 2002 16:56:13 -0000 1.3
+++ src/org/eclipse/help/ui/internal/browser/linux/MozillaBrowserAdapter.java 22 Nov 2002 21:32:57 -0000
@@ -139,7 +139,7 @@
waitForBrowser();
if (exitRequested)
return;
- if (openBrowser("mozilla -remote openURL(" + url + ")") == 0)
+ if (openBrowser("mozilla -remote openURL(" + url + ", new-window)") == 0)
return;
if (exitRequested)
return;
@@ -156,4 +156,4 @@
}
}
}
-}
\ No newline at end of file
+}