COMMON: Fixed icon is removed when both are the same name and in the same project 35/16435/2
authorJaeheung Kim <jaeheung.kim@samsung.com>
Mon, 17 Feb 2014 11:04:46 +0000 (20:04 +0900)
committerJaeheung Kim <jaeheung.kim@samsung.com>
Mon, 17 Feb 2014 23:58:36 +0000 (08:58 +0900)
Change-Id: Ia477e6c850f5cba2d51c20209c2e3feb5cb0c0b5
Signed-off-by: Jaeheung Kim <jaeheung.kim@samsung.com>
org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java

index edd4b6b..6a64fc5 100644 (file)
@@ -222,7 +222,7 @@ public class NewIconDialog extends SelectionStatusDialog {
     @Override
     protected void okPressed() {
         IFile destFile = fProject.getFile(ICON_FILE_NAME);
-        String destFilePath =  destFile.getLocation().toString();
+        String destFilePath =  destFile.getLocation().toOSString();
 
         try {
             destFile.refreshLocal(IResource.DEPTH_ZERO, null);
@@ -264,7 +264,7 @@ public class NewIconDialog extends SelectionStatusDialog {
                 } else {
                     iconFileName = iconFileNameInputDialog.getValue();
                     destFile = fProject.getFile(iconFileName);
-                    destFilePath = destFile.getLocation().toString();
+                    destFilePath = destFile.getLocation().toOSString();
                 }
             } else {
                 try {