ports/java/eclipse/files/patch-RuntimeErrorDialog.java
Norikatsu Shigemura 5362074527 Add eclipse 2.1, An open extensible IDE for anything and nothing
in particular.

Submitted by:	kan
2003-06-17 17:39:48 +00:00

21 lines
881 B
Java

--- plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/util/RuntimeErrorDialog.java.orig Thu Mar 6 12:23:58 2003
+++ plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/util/RuntimeErrorDialog.java Thu Mar 6 12:25:26 2003
@@ -68,8 +68,10 @@
data.widthHint = getMinimumMessageWidth();
// set the default height on linux.
// Note: on Windows, the default height is fine.
- if (System.getProperty("os.name").startsWith("Linux"))
+ if (System.getProperty("os.name").startsWith("Linux") ||
+ System.getProperty("os.name").startsWith("FreeBSD"))
data.heightHint = convertVerticalDLUsToPixels(100);
+ else
text.setLayoutData(data);
text.setFont(parent.getFont());
text.setBackground(composite.getDisplay().getSystemColor(SWT.COLOR_WHITE));
@@ -88,4 +90,4 @@
dialog.open();
return;
}
-}
\ No newline at end of file
+}