[network-manager-applet/NETWORKMANAGER_APPLET_0_7] editor: fix bad assignment



commit 22100e53a3be6c4e340b7a0f50433fa62c60b878
Author: Dan Williams <dcbw redhat com>
Date:   Wed Dec 23 11:23:08 2009 -0800

    editor: fix bad assignment

 src/connection-editor/page-ip4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/page-ip4.c b/src/connection-editor/page-ip4.c
index 592d8dd..82884ce 100644
--- a/src/connection-editor/page-ip4.c
+++ b/src/connection-editor/page-ip4.c
@@ -385,7 +385,7 @@ populate_ui (CEPageIP4 *self)
 	gtk_entry_set_text (priv->dns_searches, string->str);
 	g_string_free (string, TRUE);
 
-	if ((method == IP4_METHOD_AUTO) || (method = IP4_METHOD_AUTO_ADDRESSES)) {
+	if ((method == IP4_METHOD_AUTO) || (method == IP4_METHOD_AUTO_ADDRESSES)) {
 		if (nm_setting_ip4_config_get_dhcp_client_id (setting)) {
 			gtk_entry_set_text (priv->dhcp_client_id,
 			                    nm_setting_ip4_config_get_dhcp_client_id (setting));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]