projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build micropeak by default
[fw/altos]
/
altosui
/
AltosUIPreferencesBackend.java
diff --git
a/altosui/AltosUIPreferencesBackend.java
b/altosui/AltosUIPreferencesBackend.java
index 210dcb8bb14cdebb536ce18fb29637ade64f038c..3131fd3286ce917de9f3cf5c7eee1e23d5cc716f 100644
(file)
--- a/
altosui/AltosUIPreferencesBackend.java
+++ b/
altosui/AltosUIPreferencesBackend.java
@@
-17,8
+17,10
@@
package altosui;
package altosui;
+import java.io.File;
import java.util.prefs.*;
import org.altusmetrum.AltosLib.*;
import java.util.prefs.*;
import org.altusmetrum.AltosLib.*;
+import javax.swing.filechooser.FileSystemView;
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
@@
-92,4
+94,8
@@
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
}
}
}
}
+ public File homeDirectory() {
+ /* Use the file system view default directory */
+ return FileSystemView.getFileSystemView().getDefaultDirectory();
+ }
}
}