Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-01-23 21:57:27 +0000
committermkersten2006-01-23 21:57:27 +0000
commitffab9a5017303de1c0c34d07f74cd5199d09d0fc (patch)
treeb8a2191b024268155e9a75251392298d380b83fe
parent1484e00bd4435bc643198b4f9b960044a81553d6 (diff)
downloadorg.eclipse.mylyn.tasks-ffab9a5017303de1c0c34d07f74cd5199d09d0fc.tar.gz
org.eclipse.mylyn.tasks-ffab9a5017303de1c0c34d07f74cd5199d09d0fc.tar.xz
org.eclipse.mylyn.tasks-ffab9a5017303de1c0c34d07f74cd5199d09d0fc.zip
Completed: add rename action to list?
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListManager.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListManager.java
index 45f7c1570..8455f87ef 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListManager.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListManager.java
@@ -34,7 +34,7 @@ import org.eclipse.mylar.tasklist.IRepositoryQuery;
*/
public class TaskListManager {
- public static final String ARCHIVE_CATEGORY_DESCRIPTION = "Archived Reports";
+ public static final String ARCHIVE_CATEGORY_DESCRIPTION = "Archive";
private Map<ITask, TaskActivityTimer> timerMap = new HashMap<ITask, TaskActivityTimer>();
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java
index 69d0610ce..7b280e335 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java
@@ -982,7 +982,8 @@ public class TaskListView extends ViewPart {
}
}
addAction(deleteAction, manager, element);
- if ((element instanceof ITask && ((ITask) element).isLocal()) || element instanceof ITaskCategory) {
+ if ((element instanceof ITask && ((ITask) element).isLocal()) || element instanceof ITaskCategory
+ || element instanceof IRepositoryQuery) {
addAction(renameAction, manager, element);
}
if (element instanceof ITaskCategory) {

Back to the top