Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2015-01-23 13:19:08 +0000
committerSravan Kumar Lakkimsetti2015-01-27 13:12:32 +0000
commited91a2ed2a7203dc96f4e0033beb8076468b927d (patch)
treea7821efe4c75f404be18563b2fafa75860ff09d0 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
parent67dd38fff1b2fe7a7314d55e407ce5dc0df31bf4 (diff)
downloadeclipse.platform.swt-ed91a2ed2a7203dc96f4e0033beb8076468b927d.tar.gz
eclipse.platform.swt-ed91a2ed2a7203dc96f4e0033beb8076468b927d.tar.xz
eclipse.platform.swt-ed91a2ed2a7203dc96f4e0033beb8076468b927d.zip
Bug 424173 - table.showItem doesn't reveal the item on linuxI20150127-0900
Change-Id: I49f61cb3267fcd6ff34cfe67d7958bc1d23befb1 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index 412bade70e..9563effa57 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2014 IBM Corporation and others.
+ * Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -2308,6 +2308,18 @@ public void setVisible (boolean visible) {
OS.gtk_widget_hide (shellHandle);
sendEvent (SWT.Hide);
}
+
+ /*
+ * Workaround for the Bug 424173 making the child elements visible so that
+ * the child elements can perform pending actions
+ */
+ Control [] list = getChildren ();
+
+ for (Control i: list) {
+ if (i instanceof Composite) {
+ i.setVisible (visible);
+ }
+ }
}
@Override

Back to the top