Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-05-31 20:59:27 -0400
committerspingel2010-05-31 20:59:27 -0400
commit6f2694057e3b5113831d3a26cc35242720002f7c (patch)
tree6d2e282ca9ea09cd0fdd40357bb308ed22854516 /org.eclipse.mylyn.tasks.ui
parentb04d08df5fa4a87086d90848603fe13c81baf4ad (diff)
downloadorg.eclipse.mylyn.tasks-6f2694057e3b5113831d3a26cc35242720002f7c.tar.gz
org.eclipse.mylyn.tasks-6f2694057e3b5113831d3a26cc35242720002f7c.tar.xz
org.eclipse.mylyn.tasks-6f2694057e3b5113831d3a26cc35242720002f7c.zip
NEW - bug 263528: display a repository service message to warn users of problems, updates, and other relevant information
https://bugs.eclipse.org/bugs/show_bug.cgi?id=263528
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java3
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
index d7a17180f..311b651b0 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
@@ -140,7 +140,7 @@ public class TaskListServiceMessageControl implements IServiceMessageListener {
Composite buttonsComp = new Composite(head, SWT.NONE);
TableWrapData data = new TableWrapData();
- data.align = TableWrapData.RIGHT;
+ data.align = TableWrapData.LEFT;
buttonsComp.setLayoutData(data);
GridLayout gLayout = new GridLayout(2, false);
gLayout.horizontalSpacing = 0;
@@ -159,7 +159,6 @@ public class TaskListServiceMessageControl implements IServiceMessageListener {
settingsLink.addHyperlinkListener(new HyperlinkAdapter() {
@Override
public void linkActivated(HyperlinkEvent e) {
- closeMessage();
PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(
TaskListServiceMessageControl.this.parent.getShell(),
"org.eclipse.mylyn.tasks.ui.preferences", null, null); //$NON-NLS-1$
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
index 473ba7908..624b2307b 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
@@ -948,7 +948,7 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener, I
if (lastClosedId.equals("")) { //$NON-NLS-1$
ServiceMessage message = new ServiceMessage();
- message.setDescription("<A href=\"connect\">Connect Mylyn</A> to your task and ALM tools."); //$NON-NLS-1$
+ message.setDescription("<a href=\"connect\">Connect</a> to your task and ALM tools."); //$NON-NLS-1$
message.setTitle("Connect Mylyn"); //$NON-NLS-1$
message.setImage(Dialog.DLG_IMG_MESSAGE_INFO);
message.setId("0"); //$NON-NLS-1$

Back to the top