summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-10-24 10:10:44 (EDT)
committerSteffen Pingel2011-10-24 10:10:44 (EDT)
commitf854b40572423eac2059c12ac15ad83044b56a96 (patch)
treeddb910f9fdd918b9fa873cae8fe83a36e5d73386
parentc8da98fedf83c557c3092d7fa741c7f45303229c (diff)
downloadorg.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.pngbin0 -> 374 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.pngbin0 -> 436 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.pngbin0 -> 382 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.pngbin0 -> 464 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.pngbin0 -> 611 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.pngbin0 -> 407 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorAttachmentPart.java4
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiImages.java7
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
new file mode 100644
index 0000000..1759289
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-12x12.png
Binary files differ
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
new file mode 100644
index 0000000..2ba98ac
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-delete-line-12x12.png
Binary files differ
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
new file mode 100644
index 0000000..cd7def5
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool12/file-new-12x12.png
Binary files differ
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
new file mode 100644
index 0000000..b0fe1ef
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-16x16.png
Binary files differ
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
new file mode 100644
index 0000000..5df654a
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-delete-line-16x16.png
Binary files differ
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
new file mode 100644
index 0000000..a8424b8
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/etool16/file-new-16x16.png
Binary files differ
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$