Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-07-18 07:06:01 -0400
committerSteffen Pingel2012-07-20 06:59:32 -0400
commit5da36345c09d30ed4e51f3e6ac7cbf09dd0c0dcf (patch)
treef569f7b51376240f32d8f807cc76f4384428b0f4 /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks
parent802ae56db328d8adb4c1c1c77f2003d81bbf27fe (diff)
downloadorg.eclipse.mylyn.tasks-5da36345c09d30ed4e51f3e6ac7cbf09dd0c0dcf.tar.gz
org.eclipse.mylyn.tasks-5da36345c09d30ed4e51f3e6ac7cbf09dd0c0dcf.tar.xz
org.eclipse.mylyn.tasks-5da36345c09d30ed4e51f3e6ac7cbf09dd0c0dcf.zip
NEW - bug 382415: AbstractTaskEditorPart should escape partname
https://bugs.eclipse.org/bugs/show_bug.cgi?id=382415 Change-Id: Iac4074846502b3d5f24788ad983ffe3b67b435f7
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPart.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPart.java
index 48053afa8..b1c45ba8e 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPart.java
@@ -12,6 +12,7 @@
package org.eclipse.mylyn.tasks.ui.editors;
import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.LegacyActionTools;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.viewers.ISelection;
@@ -79,7 +80,7 @@ public abstract class AbstractTaskEditorPart extends AbstractFormPart {
protected Section createSection(Composite parent, FormToolkit toolkit, int style) {
Section section = toolkit.createSection(parent, style);
- section.setText(getPartName());
+ section.setText(LegacyActionTools.escapeMnemonics(getPartName()));
return section;
}

Back to the top