Changeset 362 for trunk/src/org/expeditee/gui/FrameIO.java
- Timestamp:
- 10/10/08 11:05:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameIO.java
r348 r362 678 678 } 679 679 } 680 681 // Assign a width to the title. 682 titleItem.setRightMargin(template.getNameItem().getX()); 683 680 684 return template; 681 685 } … … 1298 1302 if (!FrameIO.canAccessFrameset(framesetName)) 1299 1303 return false; 1304 //Clear the cache 1305 _Cache.clear(); 1306 1300 1307 // Search all the available directories for the directory 1301 1308 for (String path : UserSettings.FrameDirs) { 1302 1309 String source = path + framesetName.toLowerCase() + File.separator; 1303 1310 File framesetDirectory = new File(source); 1304 // Once we have found the directory move it to the trash1311 // Once we have found the directory move it 1305 1312 if (framesetDirectory.exists()) { 1306 1313 String destPath = destinationFolder … … 1308 1315 int copyNumber = 1; 1309 1316 File dest = new File(destPath + File.separator); 1310 // Create the trashfolder if it doesnt already exist1317 // Create the destination folder if it doesnt already exist 1311 1318 if (!dest.getParentFile().exists()) 1312 1319 dest.mkdirs(); 1313 // If a frameset with the same name is already in the trashadd1320 // If a frameset with the same name is already in the destination add 1314 1321 // a number to the end 1315 1322 while (dest.exists()) {
Note:
See TracChangeset
for help on using the changeset viewer.