Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-12 21:58:18 +0000
committermkersten2005-08-12 21:58:18 +0000
commitbce182098022f9ffeb5787d2e5c5c5c4ce3a3501 (patch)
tree620e46f46d15eb2c806bb76795c256fd18975ffa
parent1fc5bf13c4083cbf94d8de55533a0f6b775349da (diff)
downloadorg.eclipse.mylyn.tasks-bce182098022f9ffeb5787d2e5c5c5c4ce3a3501.tar.gz
org.eclipse.mylyn.tasks-bce182098022f9ffeb5787d2e5c5c5c4ce3a3501.tar.xz
org.eclipse.mylyn.tasks-bce182098022f9ffeb5787d2e5c5c5c4ce3a3501.zip
Fixed Bug #106800: Add an option to deactivate task without closing opened editors
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/AutoCloseAction.java1
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java1
2 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/AutoCloseAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/AutoCloseAction.java
index 151bd7921..26d1cbd44 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/AutoCloseAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/AutoCloseAction.java
@@ -26,7 +26,6 @@ public class AutoCloseAction extends Action {
setText("Close files on task deactivation");
setId(ID);
setChecked(MylarTasklistPlugin.getPrefs().getBoolean(MylarPlugin.TASKLIST_EDITORS_CLOSE));
-// setImageDescriptor(TaskListImages.REMOVE);
}
@Override
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
index b0f5f8849..e74a88af1 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
@@ -971,6 +971,7 @@ public class TaskListView extends ViewPart {
drillDownAdapter.addNavigationActions(manager);
manager.add(new Separator());
manager.add(autoClose);
+ autoClose.setEnabled(true);
}
void fillContextMenu(IMenuManager manager) {

Back to the top