summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Munteanu2011-09-30 10:37:25 (EDT)
committerSteffen Pingel2011-09-30 10:37:25 (EDT)
commit7152c4c764ef5bfc3ddd8bd30f16cea76fd36d02 (patch)
treea959554330e10c54d774f13d096e8294ec51230a
parent954845ff13419f7a59ac8cb77d71402565d4075a (diff)
downloadorg.eclipse.mylyn.tasks-7152c4c764ef5bfc3ddd8bd30f16cea76fd36d02.zip
org.eclipse.mylyn.tasks-7152c4c764ef5bfc3ddd8bd30f16cea76fd36d02.tar.gz
org.eclipse.mylyn.tasks-7152c4c764ef5bfc3ddd8bd30f16cea76fd36d02.tar.bz2
Consistent display of multiple incoming comments
Both task list tooltips and notifications now display the most recent incoming comment first. Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com> Bug: 350771
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
index d83e34e..5b57475 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTip.java
@@ -8,6 +8,7 @@
* Contributors:
* Tasktop Technologies - initial API and implementation
* Kevin Barnes, IBM Corporation - fix for bug 277974
+ * Robert Munteanu - fix for bug 350771
*******************************************************************************/
package org.eclipse.mylyn.internal.tasks.ui.views;
@@ -300,7 +301,7 @@ public class TaskListToolTip extends GradientToolTip {
TasksUiPlugin.getTaskDataManager(), TasksUiPlugin.getDefault().getSynchronizationManger());
TaskDataDiff diff = notifier.getDiff(task);
if (diff != null && diff.hasChanged()) {
- text = TaskDiffUtil.toString(diff, MAX_TEXT_WIDTH, false);
+ text = TaskDiffUtil.toString(diff, MAX_TEXT_WIDTH, true);
}
if (text != null && text.length() > 0) {
return text;