Changeset 778 for trunk/src/org/expeditee/gui/FrameIO.java
- Timestamp:
- 01/29/14 11:22:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameIO.java
r761 r778 31 31 import org.expeditee.items.ItemUtils; 32 32 import org.expeditee.items.PermissionPair; 33 import org.expeditee.items.Text; 33 34 import org.expeditee.items.UserAppliedPermission; 34 import org.expeditee.items.Text;35 35 import org.expeditee.network.FrameShare; 36 36 import org.expeditee.settings.UserSettings; 37 import org.expeditee.settings.folders.FolderSettings; 38 import org.expeditee.settings.templates.TemplateSettings; 37 39 import org.expeditee.stats.Formatter; 38 40 import org.expeditee.stats.Logger; … … 218 220 } else { 219 221 220 for (String path : UserSettings.FrameDirs.get()) {222 for (String path : FolderSettings.FrameDirs.get()) { 221 223 loaded = LoadKnowPath(path, framename); 222 224 if (loaded != null) { … … 246 248 StringBuffer list = new StringBuffer(); 247 249 248 for (String path : UserSettings.FrameDirs.get()) {250 for (String path : FolderSettings.FrameDirs.get()) { 249 251 File files = new File(path); 250 252 if (!files.exists()) … … 308 310 } 309 311 310 for (String path : UserSettings.FrameDirs.get()) {312 for (String path : FolderSettings.FrameDirs.get()) { 311 313 if (getFrameFullPathName(path, frameName) != null) 312 314 return true; … … 319 321 String fullPath = null; 320 322 if (path == null) { 321 for (String possiblePath : UserSettings.FrameDirs.get()) {323 for (String possiblePath : FolderSettings.FrameDirs.get()) { 322 324 fullPath = getFrameFullPathName(possiblePath, frameName); 323 325 if (fullPath != null) … … 1251 1253 public static Boolean canAccessFrameset(String framesetName) { 1252 1254 framesetName = framesetName.toLowerCase(); 1253 for (String path : UserSettings.FrameDirs.get()) {1255 for (String path : FolderSettings.FrameDirs.get()) { 1254 1256 if ((new File(path + framesetName)).exists()) 1255 1257 return true; … … 1309 1311 Frame base = null; 1310 1312 try { 1311 base = LoadFrame( UserSettings.DefaultFrame.get());1313 base = LoadFrame(TemplateSettings.DefaultFrame.get()); 1312 1314 } catch (Exception e) { 1313 1315 } … … 1388 1390 1389 1391 // Search all the available directories for the directory 1390 for (String path : UserSettings.FrameDirs.get()) {1392 for (String path : FolderSettings.FrameDirs.get()) { 1391 1393 String source = path + framesetName.toLowerCase() + File.separator; 1392 1394 File framesetDirectory = new File(source); … … 1428 1430 // search through all the directories to find the frameset we are 1429 1431 // copying 1430 for (String path : UserSettings.FrameDirs.get()) {1432 for (String path : FolderSettings.FrameDirs.get()) { 1431 1433 String source = path + framesetToCopy.toLowerCase() 1432 1434 + File.separator;
Note:
See TracChangeset
for help on using the changeset viewer.