summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/SessionKeeper.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-04-28 21:44:13 +0200
committerBenoit Foucher <benoit@zeroc.com>2008-04-28 21:44:13 +0200
commit941d300865df798cc7d76d9bf561bd97567f371f (patch)
tree0c1057e08f22aa9689cdcf511cdac479433ab93e /java/src/IceGridGUI/SessionKeeper.java
parentPorted C# ByteBuffer changes (diff)
downloadice-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/IceGridGUI/SessionKeeper.java')
-rwxr-xr-xjava/src/IceGridGUI/SessionKeeper.java2
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());