Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2006-04-21 12:31:29 +0000
committerMarkus Schorn2006-04-21 12:31:29 +0000
commit6870b4d62993fb8c3e2c367a9b35cf86a46b6500 (patch)
treec44e01b6d0c6cacb2eb2b1f6aa5634526d8d0620 /build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java
parentf1379fb1ed2d1beda3294ce43569bdc6d3525bf0 (diff)
downloadorg.eclipse.cdt-6870b4d62993fb8c3e2c367a9b35cf86a46b6500.tar.gz
org.eclipse.cdt-6870b4d62993fb8c3e2c367a9b35cf86a46b6500.tar.xz
org.eclipse.cdt-6870b4d62993fb8c3e2c367a9b35cf86a46b6500.zip
removed duplicate action in toolbar for changing editor presentation, bugzilla 135150
Diffstat (limited to 'build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java
index 9e4fa3904eb..bf96a0a63ad 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditorActionContributor.java
@@ -7,6 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
+ * Wind River Systems - fix for bugzilla 135150
*******************************************************************************/
package org.eclipse.cdt.make.internal.ui.editor;
@@ -97,12 +98,13 @@ public class MakefileEditorActionContributor extends BasicTextEditorActionContri
}
bars.setGlobalActionHandler(ITextEditorActionDefinitionIds.TOGGLE_SHOW_SELECTED_ELEMENT_ONLY, fTogglePresentation);
-
- IToolBarManager toolBarManager = bars.getToolBarManager();
- if (toolBarManager != null) {
- toolBarManager.add(new Separator());
- toolBarManager.add(fTogglePresentation);
- }
+ // there is a global action in the toolbar, that is retargeted,
+ // there is no need to add another one.
+// IToolBarManager toolBarManager = bars.getToolBarManager();
+// if (toolBarManager != null) {
+// toolBarManager.add(new Separator());
+// toolBarManager.add(fTogglePresentation);
+// }
}
}

Back to the top