Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-12-07 19:06:03 +0000
committerrelves2006-12-07 19:06:03 +0000
commitb42f434fb55c41526c06305d30023ac8bae79362 (patch)
treee0c4612326d5f21d8447f0c9bc9e2e4c84462c5e
parentba2b7747237915fe12bbfad524cb9c56879cfe16 (diff)
downloadorg.eclipse.mylyn.tasks-b42f434fb55c41526c06305d30023ac8bae79362.tar.gz
org.eclipse.mylyn.tasks-b42f434fb55c41526c06305d30023ac8bae79362.tar.xz
org.eclipse.mylyn.tasks-b42f434fb55c41526c06305d30023ac8bae79362.zip
RESOLVED - bug 166615: Add attachment from clipboard don't work in Bugzilla task editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=166615
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizard.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizard.java
index d108bb05f..26be4eff7 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizard.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizard.java
@@ -108,7 +108,7 @@ public class NewAttachmentWizard extends Wizard {
// TODO Handle error
}
- File file = new File(TasksUiPlugin.getDefault().getDefaultDataDirectory()
+ File file = new File(TasksUiPlugin.getDefault().getDataDirectory()
+ System.getProperty("file.separator").charAt(0) + "Clipboard-attachment");
try {
FileWriter writer = new FileWriter(file);

Back to the top