Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-16 22:44:37 -0400
committermkersten2005-08-16 22:44:37 -0400
commitc8934b7abdf5d0e2199d653f0f381b1290e3eeae (patch)
tree7e3224c074e53db2c4faa22dce2356802992381a
parentc77665346f6de0c5221cb56d2ed14bdf257213d1 (diff)
downloadorg.eclipse.mylyn.tasks-c8934b7abdf5d0e2199d653f0f381b1290e3eeae.tar.gz
org.eclipse.mylyn.tasks-c8934b7abdf5d0e2199d653f0f381b1290e3eeae.tar.xz
org.eclipse.mylyn.tasks-c8934b7abdf5d0e2199d653f0f381b1290e3eeae.zip
Fix for Bug #105516: package explorer shows nothing upon eclipse startup unless mylar task list is active
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
index d5f48895d..155cc29dd 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
@@ -276,14 +276,14 @@ public class MylarTasklistPlugin extends AbstractUIPlugin implements IStartup {
public void earlyStartup() {
final IWorkbench workbench = PlatformUI.getWorkbench();
-
- taskListManager.readTaskList();
- if (taskListManager.getTaskList() == null) taskListManager.createNewTaskList();
-
- workbench.getDisplay().asyncExec(new Runnable() {
+
+ workbench.getDisplay().syncExec(new Runnable() {
public void run() {
Workbench.getInstance().getActiveWorkbenchWindow().getShell().addShellListener(SHELL_LISTENER);
MylarPlugin.getDefault().getPluginPreferences().addPropertyChangeListener(PREFERENCE_LISTENER);
+
+ taskListManager.readTaskList();
+ if (taskListManager.getTaskList() == null) taskListManager.createNewTaskList();
}
});
}

Back to the top