Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-10-24 14:10:44 +0000
committerSteffen Pingel2011-10-24 14:10:44 +0000
commitf854b40572423eac2059c12ac15ad83044b56a96 (patch)
treeddb910f9fdd918b9fa873cae8fe83a36e5d73386
parentc8da98fedf83c557c3092d7fa741c7f45303229c (diff)
downloadorg.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.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 000000000..1759289cc
--- /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 000000000..2ba98aca7
--- /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 000000000..cd7def5fa
--- /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 000000000..b0fe1efca
--- /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 000000000..5df654a07
--- /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 000000000..a8424b855
--- /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 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$

Back to the top