Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-02-03 07:21:00 +0000
committerslewis2005-02-03 07:21:00 +0000
commit13103e92072ec4f0341bfafa11f119ae5aa98360 (patch)
treef3fd6b2c98af31dc1564aab0c81546bef1b85187
parentf2a7fb5d749b9ace730f292998d39a4c90d1394a (diff)
downloadorg.eclipse.ecf-13103e92072ec4f0341bfafa11f119ae5aa98360.tar.gz
org.eclipse.ecf-13103e92072ec4f0341bfafa11f119ae5aa98360.tar.xz
org.eclipse.ecf-13103e92072ec4f0341bfafa11f119ae5aa98360.zip
Fix for drag and drop file transfer problem
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatDropTarget.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatDropTarget.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatDropTarget.java
index 95aa6e853..3dd771565 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatDropTarget.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatDropTarget.java
@@ -95,7 +95,8 @@ class ChatDropTarget implements DropTargetListener {
if (file.exists() && !file.isDirectory()
&& composite != null) {
composite.sendFile(file.getPath(), this.view.downloaddir
- + file.getName(), null, target,false);
+ + File.separatorChar + file.getName(), null, target,false);
+
}
}
}

Back to the top