Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-05-14 22:14:07 -0400
committermkersten2007-05-14 22:14:07 -0400
commitb8494689281f448259c1bc9edb22621c30a2c214 (patch)
tree167893fc34b3712003b6f8f257ae673ac423d1f8
parentc36b323855414dc9a8cc98642db4924285ac754f (diff)
downloadorg.eclipse.mylyn.tasks-e_3_2.tar.gz
org.eclipse.mylyn.tasks-e_3_2.tar.xz
org.eclipse.mylyn.tasks-e_3_2.zip
Version updateR_2_0_M3_e_3_2e_3_2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java4
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskActivityLabelProvider.java2
2 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java
index 052028b4b..6130574e6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java
@@ -114,7 +114,7 @@ class CustomTaskListDecorationDrawer implements Listener {
int offsetX = 6;
int offsetY = (event.height / 2) - 5;
if (taskListView.synchronizationOverlaid) {
- offsetX = event.x + 19 - platformSpecificSquish;
+ offsetX = event.x + 18 - platformSpecificSquish;
offsetY += 2;
}
if (element instanceof AbstractTaskContainer) {
@@ -124,6 +124,8 @@ class CustomTaskListDecorationDrawer implements Listener {
int additionalSquish = 0;
if (platformSpecificSquish > 0 && taskListView.synchronizationOverlaid) {
additionalSquish = platformSpecificSquish + 3;
+ } else if (platformSpecificSquish >0) {
+ additionalSquish = platformSpecificSquish / 2;
}
if (taskListView.synchronizationOverlaid) {
image = TasksUiImages.getImage(TasksUiImages.OVERLAY_SYNCH_INCOMMING);
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskActivityLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskActivityLabelProvider.java
index 5d258d596..c9dbb2e7d 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskActivityLabelProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskActivityLabelProvider.java
@@ -53,7 +53,7 @@ public class TaskActivityLabelProvider extends DecoratingLabelProvider implement
public Image getColumnImage(Object element, int columnIndex) {
if (columnIndex == 0) {
if (element instanceof DateRangeContainer) {
- return TasksUiImages.getImage(TasksUiImages.CALENDAR);
+ super.getImage((DateRangeContainer)element);
} else if (element instanceof DateRangeActivityDelegate) {
return super.getImage(((DateRangeActivityDelegate) element).getCorrespondingTask());
} else {

Back to the top