Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-12-02 04:56:13 -0500
committerSteffen Pingel2011-12-02 04:56:13 -0500
commit9677a180c7f2867a4747187ce0667752f3dc8299 (patch)
treed61dfa58a720eb64d4a72dadc0c5eaf239616dba /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks
parent0183ba4d8a74d9c4c0cb6781f5c93f6a8eb3179d (diff)
downloadorg.eclipse.mylyn.tasks-9677a180c7f2867a4747187ce0667752f3dc8299.tar.gz
org.eclipse.mylyn.tasks-9677a180c7f2867a4747187ce0667752f3dc8299.tar.xz
org.eclipse.mylyn.tasks-9677a180c7f2867a4747187ce0667752f3dc8299.zip
NEW - bug 364892: replace invocations to CommonUiUtil.toLabel() with
LegacyActionTools.escapeMnemonics() https://bugs.eclipse.org/bugs/show_bug.cgi?id=364892 Change-Id: I7b145d1b2c25db0393bae558d6b50a89f277b616
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/AbstractAttributeEditor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractAttributeEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractAttributeEditor.java
index 0ba7b0543..1e38f2256 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractAttributeEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractAttributeEditor.java
@@ -12,7 +12,7 @@
package org.eclipse.mylyn.tasks.ui.editors;
import org.eclipse.core.runtime.Assert;
-import org.eclipse.mylyn.internal.provisional.commons.ui.CommonUiUtil;
+import org.eclipse.jface.action.LegacyActionTools;
import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
import org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper;
import org.eclipse.mylyn.tasks.core.data.TaskDataModel;
@@ -153,7 +153,7 @@ public abstract class AbstractAttributeEditor {
*/
public String getLabel() {
String label = getAttributeMapper().getLabel(getTaskAttribute());
- return CommonUiUtil.toLabel(label);
+ return LegacyActionTools.escapeMnemonics(label);
}
/**

Back to the top