diff options
author | Steffen Pingel | 2011-10-24 14:10:44 +0000 |
---|---|---|
committer | Steffen Pingel | 2011-10-24 14:10:44 +0000 |
commit | f854b40572423eac2059c12ac15ad83044b56a96 (patch) | |
tree | ddb910f9fdd918b9fa873cae8fe83a36e5d73386 | |
parent | c8da98fedf83c557c3092d7fa741c7f45303229c (diff) | |
download | org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.tar.gz org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.tar.xz org.eclipse.mylyn.tasks-f854b40572423eac2059c12ac15ad83044b56a96.zip |
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 000000000..1759289cc --- /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 000000000..2ba98aca7 --- /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 000000000..cd7def5fa --- /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 000000000..b0fe1efca --- /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 000000000..5df654a07 --- /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 000000000..a8424b855 --- /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 8165073e0..adb43476f 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 f9ccc1263..f9d76b242 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$ |