Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-12-05 16:14:48 -0500
committerSteffen Pingel2011-12-05 16:14:48 -0500
commit816c403e6b75fb7f536fd6dca69796061c4a394b (patch)
treef5df07af146747fa871f50f1a21451376b6be518 /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks
parent37fc151f7c3bcd975ea83fdc7d02a41a77e7f538 (diff)
downloadorg.eclipse.mylyn.tasks-816c403e6b75fb7f536fd6dca69796061c4a394b.tar.gz
org.eclipse.mylyn.tasks-816c403e6b75fb7f536fd6dca69796061c4a394b.tar.xz
org.eclipse.mylyn.tasks-816c403e6b75fb7f536fd6dca69796061c4a394b.zip
RESOLVED - bug 364892: replace invocations to CommonUiUtil.toLabel()
with LegacyActionTools.escapeMnemonics() https://bugs.eclipse.org/bugs/show_bug.cgi?id=364892
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 1e38f2256..211763a01 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.jface.action.LegacyActionTools;
+import org.eclipse.mylyn.commons.ui.CommonUiUtil;
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 LegacyActionTools.escapeMnemonics(label);
+ return CommonUiUtil.toLabel(label);
}
/**

Back to the top