/hg/icedtea-web: Fix bug where proxy settings in itweb-settings ...

omajid at icedtea.classpath.org omajid at icedtea.classpath.org
Wed Feb 9 07:03:02 PST 2011


changeset a6b173d91ad1 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=a6b173d91ad1
author: Omair Majid <omajid at redhat.com>
date: Wed Feb 09 10:02:46 2011 -0500

	Fix bug where proxy settings in itweb-settings were being lost

	2011-02-09 Omair Majid <omajid at redhat.com>

	 *
	netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
	(addComponents): Fix the listener attached to the port field to
	update the right config option.


diffstat:

2 files changed, 7 insertions(+), 1 deletion(-)
ChangeLog                                                        |    6 ++++++
netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java |    2 +-

diffs (25 lines):

diff -r c0d4bd69b8f7 -r a6b173d91ad1 ChangeLog
--- a/ChangeLog	Tue Feb 08 16:51:56 2011 -0500
+++ b/ChangeLog	Wed Feb 09 10:02:46 2011 -0500
@@ -1,3 +1,9 @@ 2011-02-08  Omair Majid  <omajid at redhat.
+2011-02-09  Omair Majid  <omajid at redhat.com>
+
+	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
+	(addComponents): Fix the listener attached to the port field to update the
+	right config option.
+
 2011-02-08  Omair Majid  <omajid at redhat.com>
 
 	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
diff -r c0d4bd69b8f7 -r a6b173d91ad1 netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
--- a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Tue Feb 08 16:51:56 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Wed Feb 09 10:02:46 2011 -0500
@@ -114,7 +114,7 @@ public class NetworkSettingsPanel extend
         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