aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-03-31 08:23:16 (EDT)
committerLars Vogel2014-03-31 14:00:06 (EDT)
commit16955c8ac94ed8fbad83c8e4c188be1d04a9824a (patch)
tree7b5ab224fe24c50bf80f73cd3b218445ec19a80d
parentb3c8a7f111b94459fb9b7da66ae56a7b488eb7a8 (diff)
downloadeclipse.platform.ui-16955c8ac94ed8fbad83c8e4c188be1d04a9824a.zip
eclipse.platform.ui-16955c8ac94ed8fbad83c8e4c188be1d04a9824a.tar.gz
eclipse.platform.ui-16955c8ac94ed8fbad83c8e4c188be1d04a9824a.tar.bz2
Bug 429900 - [Contributions] Toolbar contributions are added twice with extra separatorsrefs/changes/94/24194/2
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.java2
1 files changed, 1 insertions, 1 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 d3e85ec..a4a67da 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
@@ -570,8 +570,8 @@ public class CoolBarToTrimManager extends ContributionManager implements ICoolBa
if (item instanceof AbstractGroupMarker) {
toolItem.setVisible(item.isVisible());
}
- container.getChildren().add(toolItem);
renderer.linkModelToContribution(toolItem, item);
+ container.getChildren().add(toolItem);
}
}
}