Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-09-14 15:12:37 +0000
committerSteffen Pingel2013-09-14 15:12:37 +0000
commit107292948471bd78a009d2ef4d436b532db068e1 (patch)
tree080b7893a3bbebf03a0c95da59db481ff539ffa3 /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java
parentbac81702e35fbf5f0d9986dcc3cbf98533437e8b (diff)
downloadorg.eclipse.mylyn.tasks-107292948471bd78a009d2ef4d436b532db068e1.tar.gz
org.eclipse.mylyn.tasks-107292948471bd78a009d2ef4d436b532db068e1.tar.xz
org.eclipse.mylyn.tasks-107292948471bd78a009d2ef4d436b532db068e1.zip
417262: set base target to Eclipse 3.6
Change-Id: Iecb5dd95783d52411249bb3cadd9a233e6f7d095 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=417262
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java
index 725ed362b..bbc8b2a4a 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java
@@ -24,6 +24,7 @@ import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.LegacyActionTools;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.ToolBarManager;
import org.eclipse.jface.layout.GridDataFactory;
@@ -38,7 +39,6 @@ import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.jface.window.ToolTip;
import org.eclipse.mylyn.commons.core.CoreUtil;
import org.eclipse.mylyn.commons.ui.CommonImages;
-import org.eclipse.mylyn.commons.ui.CommonUiUtil;
import org.eclipse.mylyn.commons.ui.TableSorter;
import org.eclipse.mylyn.commons.ui.TableViewerSupport;
import org.eclipse.mylyn.commons.workbench.forms.CommonFormUtil;
@@ -377,10 +377,10 @@ public class TaskEditorAttachmentPart extends AbstractTaskEditorPart {
private void updateSectionTitle() {
if (tableFilter.isFilterDeprecatedEnabled()) {
section.setText(NLS.bind(Messages.TaskEditorAttachmentPart_Attachment_Section_Title_X_of_Y, new Object[] {
- CommonUiUtil.toLabel(getPartName()), nonDeprecatedCount, attachmentAttributes.size() }));
+ LegacyActionTools.escapeMnemonics(getPartName()), nonDeprecatedCount, attachmentAttributes.size() }));
} else {
section.setText(NLS.bind(Messages.TaskEditorAttachmentPart_Attachment_Section_Title_X,
- CommonUiUtil.toLabel(getPartName()), attachmentAttributes.size()));
+ LegacyActionTools.escapeMnemonics(getPartName()), attachmentAttributes.size()));
}
}

Back to the top