[icedtea-web] RFC: fix bug in proxy settings in control panel

Deepak Bhole dbhole at redhat.com
Tue Feb 8 16:46:04 PST 2011


* Omair Majid <omajid at redhat.com> [2011-02-08 19:20]:
> Hi,
> 
> The attached fixes a bug in control panel. The bug makes the control
> panel lose part of the proxy address when "Advanced..." is clicked.
> 
> Ok to commit?
> 

ChangeLog is missing. OK for commit to HEAD and 1.0 after that.

Cheers,
Deepak

> Cheers,
> Omair

> diff -r 2d39fa58036e netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
> --- a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Tue Feb 01 21:07:03 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Sat Feb 05 20:03:20 2011 -0500
> @@ -114,7 +114,7 @@
>          addressField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[1]));
>  
>          final JTextField portField = new JTextField(config.getProperty(properties[2]), 3);
> -        portField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[1]));
> +        portField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[2]));
>  
>          // Create the button which allows setting of other types of proxy.
>          JButton advancedProxyButton = new JButton(Translator.R("NSAdvanced") + "...");




More information about the distro-pkg-dev mailing list