| author | Steffen Pingel | 2011-10-24 10:10:44 (EDT) |
|---|---|---|
| committer | Steffen Pingel | 2011-10-24 10:10:44 (EDT) |
| commit | f854b40572423eac2059c12ac15ad83044b56a96 (patch) (side-by-side diff) | |
| tree | ddb910f9fdd918b9fa873cae8fe83a36e5d73386 | |
| parent | c8da98fedf83c557c3092d7fa741c7f45303229c (diff) | |
| download | org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.zip org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.tar.gz org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.tar.bz2 | |
RESOLVED - bug 359595: support filtering of obsolete attachments
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359595
Change-Id: I9111f2bf75155cd1912a5d3efd2e736ec2475aac
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-12x12.png | bin | 0 -> 374 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.png | bin | 0 -> 436 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.png | bin | 0 -> 382 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.png | bin | 0 -> 464 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.png | bin | 0 -> 611 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.png | bin | 0 -> 407 bytes | |||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java | 4 | ||||
| -rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java | 7 |
8 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-12x12.png b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-12x12.png Binary files differnew file mode 100644 index 0000000..1759289 --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-12x12.png diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.png b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.png Binary files differnew file mode 100644 index 0000000..2ba98ac --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.png diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.png b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.png Binary files differnew file mode 100644 index 0000000..cd7def5 --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.png diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.png b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.png Binary files differnew file mode 100644 index 0000000..b0fe1ef --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.png diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.png b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.png Binary files differnew file mode 100644 index 0000000..5df654a --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.png diff --git a/org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.png b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.png Binary files differnew file mode 100644 index 0000000..a8424b8 --- a/dev/null +++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.png diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java index 8165073..adb4347 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java @@ -341,7 +341,7 @@ public class TaskEditorAttachmentPart extends AbstractTaskEditorPart { filterDeprecated(isChecked()); } }; - filterDeprecatedAttachmentsAction.setImageDescriptor(TasksUiImages.FILTER_OBSOLETE); + filterDeprecatedAttachmentsAction.setImageDescriptor(TasksUiImages.FILTER_OBSOLETE_SMALL); filterDeprecatedAttachmentsAction.setToolTipText(Messages.TaskEditorAttachmentPart_Hide_Obsolete_Tooltip); if (nonDeprecatedCount > 0 && nonDeprecatedCount < attachmentAttributes.size()) { filterDeprecated(TasksUiPlugin.getDefault().getPreferenceStore().getBoolean(PREF_FILTER_DEPRECATED)); @@ -358,7 +358,7 @@ public class TaskEditorAttachmentPart extends AbstractTaskEditorPart { } }; attachFileAction.setToolTipText(Messages.TaskEditorAttachmentPart_Attach_); - attachFileAction.setImageDescriptor(CommonImages.FILE_PLAIN_SMALL); + attachFileAction.setImageDescriptor(TasksUiImages.FILE_NEW_SMALL); toolBarManager.add(attachFileAction); } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java index f9ccc12..f9d76b2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java @@ -70,7 +70,12 @@ public class TasksUiImages { /** * @since 3.7 */ - public static final ImageDescriptor FILTER_OBSOLETE = create(TOOL_SMALL, "filter-obsolete.gif"); //$NON-NLS-1$ + public static final ImageDescriptor FILTER_OBSOLETE_SMALL = create(TOOL_SMALL, "file-delete-line-12x12.png"); //$NON-NLS-1$ + + /** + * @since 3.7 + */ + public static final ImageDescriptor FILE_NEW_SMALL = create(TOOL_SMALL, "file-new-12x12.png"); //$NON-NLS-1$ public static final ImageDescriptor TASK_RETRIEVE = create(TOOL, "task-retrieve.gif"); //$NON-NLS-1$ |

