Mercurial > projects > dwt-linux
changeset 334:a4b331f75790
Quick fix
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 19 Oct 2008 21:41:55 -0700 |
parents | 8235a17d9255 |
children | 7d6e1394b849 |
files | dwt/dwthelper/System.d |
diffstat | 1 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dwthelper/System.d Sun Oct 19 21:18:43 2008 -0700 +++ b/dwt/dwthelper/System.d Sun Oct 19 21:41:55 2008 -0700 @@ -161,12 +161,15 @@ /* else get values for global system keys (environment) */ } else { switch( key ){ - case "os.name": return tango.sys.Environment.get("OSTYPE"); - case "user.name": return tango.sys.Environment.get("USER"); - case "user.home": return tango.sys.Environment.get("HOME"); - case "user.dir" : return tango.sys.Environment.get("PWD"); + case "os.name": return Environment.get("OSTYPE"); + case "user.name": return Environment.get("USER"); + case "user.home": return Environment.get("HOME"); + case "user.dir" : return Environment.get("PWD"); case "file.separator" : return FileConst.PathSeparatorString ; - case "file.encoding" : return + case "file.encoding" : implMissing( __FILE__, __LINE__); + case "network.proxy_host" : implMissing( __FILE__, __LINE__); + case "network.proxy_port" : implMissing( __FILE__, __LINE__); + default: return null; } }