diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-04-28 21:44:13 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-04-28 21:44:13 +0200 |
commit | 941d300865df798cc7d76d9bf561bd97567f371f (patch) | |
tree | 0c1057e08f22aa9689cdcf511cdac479433ab93e /java/src | |
parent | Ported C# ByteBuffer changes (diff) | |
download | ice-941d300865df798cc7d76d9bf561bd97567f371f.tar.bz2 ice-941d300865df798cc7d76d9bf561bd97567f371f.tar.xz ice-941d300865df798cc7d76d9bf561bd97567f371f.zip |
Mac OS X workaround to correctly setup the default dir of the file chooser
Diffstat (limited to 'java/src')
-rwxr-xr-x | java/src/IceGridGUI/SessionKeeper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/IceGridGUI/SessionKeeper.java b/java/src/IceGridGUI/SessionKeeper.java index 1168731f2af..f4e8d366b00 100755 --- a/java/src/IceGridGUI/SessionKeeper.java +++ b/java/src/IceGridGUI/SessionKeeper.java @@ -546,7 +546,7 @@ class SessionKeeper super(_coordinator.getMainFrame(), "Login - IceGrid Admin", true); setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE); - final File defaultDir = new java.io.File(_coordinator.getProperties().getProperty("IceSSL.DefaultDir")); + final File defaultDir = new java.io.File(_coordinator.getProperties().getProperty("IceSSL.DefaultDir")).getAbsoluteFile(); _keystoreType = _coordinator.getProperties().getPropertyWithDefault("IceSSL.KeystoreType", java.security.KeyStore.getDefaultType()); |