Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2012-04-24 18:27:48 +0000
committerPaul Webster2012-04-24 18:28:14 +0000
commit78badb9db2c4072b88aa19125170abd531121ab7 (patch)
tree0e5d98bc0e7acda9ad22152b03ebeecd64a62feb
parentc7951b5e589960cf7c76fd1c27069c8be71ca2be (diff)
downloadeclipse.platform.ui-78badb9db2c4072b88aa19125170abd531121ab7.tar.gz
eclipse.platform.ui-78badb9db2c4072b88aa19125170abd531121ab7.tar.xz
eclipse.platform.ui-78badb9db2c4072b88aa19125170abd531121ab7.zip
Bug 377559 - menuContribution not working in Juno
We weren't considering popup: in calculating our showInMenu
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
index 3eb64b72422..949c7cb9071 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java
@@ -198,10 +198,7 @@ public class ShowInMenu extends ContributionItem implements
ExpressionContext eContext = new ExpressionContext(workbenchWindow.getModel()
.getContext());
ContributionsAnalyzer.gatherMenuContributions(menuModel,
- application.getMenuContributions(), menuModel.getElementId(), toContribute,
- eContext, true);
- ContributionsAnalyzer.gatherMenuContributions(menuModel,
- application.getMenuContributions(), location, toContribute, eContext, false);
+ application.getMenuContributions(), location, toContribute, eContext, true);
ContributionsAnalyzer.addMenuContributions(menuModel, toContribute,
menuContributionsToRemove);

Back to the top