summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorWojciech Sudol2013-12-05 02:23:17 (EST)
committer Gerrit Code Review @ Eclipse.org2013-12-05 14:03:08 (EST)
commitaad29ac0fb309642899d2e21a59ca0e43dc4197f (patch)
treecac713fb65d5d91fb1af215b5fae4e931ff1ad78
parentbd4f8f4681b4634eef1dc41720d902b0d17bc105 (diff)
downloadeclipse.platform.ui-aad29ac0fb309642899d2e21a59ca0e43dc4197f.zip
eclipse.platform.ui-aad29ac0fb309642899d2e21a59ca0e43dc4197f.tar.gz
eclipse.platform.ui-aad29ac0fb309642899d2e21a59ca0e43dc4197f.tar.bz2
Bug 416746 - [Trim] Toolbar not visible with 4.3 legacy moderefs/changes/56/19356/2
Change-Id: I6adad79c2d4b5005efc834e2473f8d74081b4840 Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java
index 9348fa1..5dc04b4 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CoolBarToTrimManager.java
@@ -85,9 +85,8 @@ public class CoolBarToTrimManager extends ContributionManager implements ICoolBa
if (topTrim == null) {
topTrim = modelService.getTrim(window, SideValue.TOP);
topTrim.setElementId(MAIN_TOOLBAR_ID);
- topTrim.setToBeRendered(false);
}
- // trimBar.setToBeRendered(false);
+ topTrim.setToBeRendered(false);
renderer = (ToolBarManagerRenderer) rendererFactory.getRenderer(
MenuFactoryImpl.eINSTANCE.createToolBar(), null);