Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-10-03 16:12:38 +0000
committerCurtis D'Entremont2006-10-03 16:12:38 +0000
commitc5d6ca5093eb37092b46945d2729c4ee855d482a (patch)
treef7adcc97198a41229d34f44029ca56e71a1d5936
parentc7b1c1e9fefaa48f6bf7013765de994d9d3833f2 (diff)
downloadeclipse.platform.ua-c5d6ca5093eb37092b46945d2729c4ee855d482a.tar.gz
eclipse.platform.ua-c5d6ca5093eb37092b46945d2729c4ee855d482a.tar.xz
eclipse.platform.ua-c5d6ca5093eb37092b46945d2729c4ee855d482a.zip
status bar was causing problems with dialogs
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
index 4fe0bbf1c..82dcd1a42 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowser.java
@@ -120,6 +120,7 @@ public class EmbeddedBrowser {
initialize(browser);
createStatusBar(shell);
+ initializeStatusBar(browser);
// use saved location and size
x = store.getInt(BROWSER_X);
@@ -198,6 +199,7 @@ public class EmbeddedBrowser {
shell = new Shell(parent, SWT.PRIMARY_MODAL | SWT.DIALOG_TRIM);
initializeShell(shell);
Browser browser = new Browser(shell, SWT.NONE);
+ browser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
initialize(browser);
event.browser = browser;
@@ -291,6 +293,9 @@ public class EmbeddedBrowser {
public void changed(LocationEvent e) {
}
});
+ }
+
+ private void initializeStatusBar(Browser browser) {
browser.addStatusTextListener(new StatusTextListener() {
public void changed(StatusTextEvent event) {
if (!event.text.equals(statusText)) {

Back to the top