Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-01-04 16:21:57 +0000
committerspingel2009-01-04 16:21:57 +0000
commitd8b86a95ceaedd20bcf882a5110d9def6ee9dc26 (patch)
treed277a2aa8051123ade05c2764b4c957536de995b /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java
parent8935c4548406a30d8ab005a69680bd86c848ada2 (diff)
downloadorg.eclipse.mylyn.tasks-d8b86a95ceaedd20bcf882a5110d9def6ee9dc26.tar.gz
org.eclipse.mylyn.tasks-d8b86a95ceaedd20bcf882a5110d9def6ee9dc26.tar.xz
org.eclipse.mylyn.tasks-d8b86a95ceaedd20bcf882a5110d9def6ee9dc26.zip
NEW - bug 253638: TaskDataManager's dataPath needs to be updated upon change of task data location
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253638
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java
index edadb71a9..771c37b39 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskJobFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -95,7 +95,8 @@ public class TaskJobFactory implements ITaskJobFactory {
public SynchronizationJob createSynchronizeRepositoriesJob(Set<TaskRepository> repositories) {
SynchronizeRepositoriesJob job = new SynchronizeRepositoriesJob(taskList, taskDataManager, tasksModel,
- repositoryManager, repositories);
+ repositoryManager);
+ job.setRepositories(repositories);
job.setProperty(IProgressConstants.ICON_PROPERTY, TasksUiImages.REPOSITORY_SYNCHRONIZE);
job.setPriority(Job.DECORATE);
job.addJobChangeListener(new JobChangeAdapter() {

Back to the top