Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-12-20 17:58:55 -0500
committermkersten2006-12-20 17:58:55 -0500
commitdf7677fbd46ab96f8fa9da984e63d2d751fa9b6c (patch)
tree05ffbf9a17c13897cbc30ad388b62cb1474e5987
parentc433a542e8db5913a07b270fcc85e3ed1b77a6e7 (diff)
downloadorg.eclipse.mylyn.tasks-df7677fbd46ab96f8fa9da984e63d2d751fa9b6c.tar.gz
org.eclipse.mylyn.tasks-df7677fbd46ab96f8fa9da984e63d2d751fa9b6c.tar.xz
org.eclipse.mylyn.tasks-df7677fbd46ab96f8fa9da984e63d2d751fa9b6c.zip
RESOLVED - bug 168356: Info: "Error occurred while constructing search page for https://www.limewire.org/jira [jira]" in org.eclipse.mylar.core
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168356
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskSearchPage.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskSearchPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskSearchPage.java
index 993c419c9..157a6bbdf 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskSearchPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskSearchPage.java
@@ -125,6 +125,9 @@ public class TaskSearchPage extends DialogPage implements ISearchPage {
try {
searchPage.createControl(fParentComposite);
} catch (Exception e) {
+ if (searchPage.getControl() != null) {
+ searchPage.getControl().dispose();
+ }
searchPage.dispose();
searchPage = new DeadSearchPage(repository) {
@Override
@@ -152,8 +155,6 @@ public class TaskSearchPage extends DialogPage implements ISearchPage {
searchPage.createControl(fParentComposite);
MylarStatusHandler.log(e, "Error occurred while constructing search page for "
+ repository.getUrl() + " [" + repository.getKind() + "]");
- // searchPage.getControl().dispose();
-
}
}
return searchPage;
@@ -309,5 +310,14 @@ public class TaskSearchPage extends DialogPage implements ISearchPage {
return taskRepository;
}
+ @Override
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+
+ if (visible) {
+ scontainer.setPerformActionEnabled(false);
+ }
+ }
+
}
}

Back to the top