Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-03 00:44:36 +0000
committerspingel2011-02-03 00:44:36 +0000
commitbb6535d19be6b50be91214970506deca97cef9b3 (patch)
treed0e1680aba9b172c81f7801c19d894d0ad7adae0 /org.eclipse.mylyn.tasks.ui
parent5fae28c73250e27b93f9a08b813379e7bbd1bc60 (diff)
downloadorg.eclipse.mylyn.tasks-bb6535d19be6b50be91214970506deca97cef9b3.tar.gz
org.eclipse.mylyn.tasks-bb6535d19be6b50be91214970506deca97cef9b3.tar.xz
org.eclipse.mylyn.tasks-bb6535d19be6b50be91214970506deca97cef9b3.zip
NEW - bug 336111: [patch] don't show author image in attachment part if no author is given
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336111
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java
index 261cc4bd2..d144011e8 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java
@@ -74,7 +74,7 @@ public class AttachmentTableLabelProvider extends ColumnLabelProvider {
}
return WorkbenchImages.getImage(ISharedImages.IMG_OBJ_FILE);
}
- } else if (columnIndex == 3) {
+ } else if (columnIndex == 3 && attachment.getAuthor() != null) {
return getAuthorImage(attachment.getAuthor(), attachment.getTaskRepository());
}
return null;

Back to the top