projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Make AltosConfigData parse all of the config data
[fw/altos]
/
altoslib
/
AltosPreferences.java
diff --git
a/altoslib/AltosPreferences.java
b/altoslib/AltosPreferences.java
index a82ea3f67f0e4ba5229a5dc6d2abb0314c9ab663..47196d6e70b89342ef3f876207bef574bcb941f4 100644
(file)
--- a/
altoslib/AltosPreferences.java
+++ b/
altoslib/AltosPreferences.java
@@
-19,7
+19,6
@@
package org.altusmetrum.AltosLib;
import java.io.*;
import java.util.*;
import java.io.*;
import java.util.*;
-import javax.swing.filechooser.FileSystemView;
public class AltosPreferences {
public static AltosPreferencesBackend backend = null;
public class AltosPreferences {
public static AltosPreferencesBackend backend = null;
@@
-145,8
+144,7
@@
public class AltosPreferences {
if (logdir_string != null)
logdir = new File(logdir_string);
else {
if (logdir_string != null)
logdir = new File(logdir_string);
else {
- /* Use the file system view default directory */
- logdir = new File(FileSystemView.getFileSystemView().getDefaultDirectory(), logdirName);
+ logdir = new File(backend.homeDirectory(), logdirName);
if (!logdir.exists())
logdir.mkdirs();
}
if (!logdir.exists())
logdir.mkdirs();
}