--- gnome-network-properties.c	2009-08-05 18:52:42.000000000 +0200
+++ gnome-network-properties.c.modified	2009-08-05 18:52:09.000000000 +0200
@@ -1058,6 +1058,27 @@
 	}
 }
 
+#if 1
+static void
+sync_hosts (GladeXML *dialog)
+{
+	GConfClient *client;
+	gboolean same_proxy;
+
+	client = gconf_client_get_default ();
+	same_proxy = gconf_client_get_bool (client, USE_SAME_PROXY_KEY, NULL);
+
+
+	if (same_proxy)
+	{
+		fprintf (stderr, "callback ok\n");
+		gtk_entry_set_text (GTK_ENTRY (WID ("ftp_host_entry")),
+							gtk_entry_get_text (GTK_ENTRY (WID ("http_host_entry"))));
+	}
+	
+}
+#endif
+
 static void
 setup_dialog (GladeXML *dialog)
 {
@@ -1203,6 +1224,11 @@
 						G_CALLBACK (cb_add_url), dialog);
 	g_signal_connect (WID ("button_remove_url"), "clicked",
 						G_CALLBACK (cb_remove_url), dialog);
+
+	g_signal_connect (WID ("http_host_entry"),
+						"key-release-event",
+						G_CALLBACK (sync_hosts),
+						dialog);
 }
 
 int
