summaryrefslogtreecommitdiff
path: root/info-daemon
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2004-10-04 15:44:00 +0000
committerDan Williams <dcbw@redhat.com>2004-10-04 15:44:00 +0000
commit9383651b306ac66b117a500a2e1ecbbcc0b886bd (patch)
tree5be41ea1bda25084e78696ca451ab50dd16b1e1c /info-daemon
parentc4031a846db636dc047d0b429cc7883c110f4a70 (diff)
downloadNetworkManager-9383651b306ac66b117a500a2e1ecbbcc0b886bd.tar.gz
2004-10-04 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.[ch] - Add a slightly more robust method of determining if the WEP key is correct or not, by checking the WEP-discarded packet count on the card * info-daemon/NetworkManagerInfo.c - (nmi_gconf_notify_callback): Fix GConf essid escaping, should un-escape values we pull out rather than escaping them git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@189 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'info-daemon')
-rw-r--r--info-daemon/NetworkManagerInfo.c10
-rw-r--r--info-daemon/NetworkManagerInfoDbus.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/info-daemon/NetworkManagerInfo.c b/info-daemon/NetworkManagerInfo.c
index 654fe6f23f..32fec8d165 100644
--- a/info-daemon/NetworkManagerInfo.c
+++ b/info-daemon/NetworkManagerInfo.c
@@ -67,17 +67,17 @@ void nmi_gconf_notify_callback (GConfClient *client, guint connection_id, GConfE
{
char *network = g_strdup ((key + path_len));
char *slash_pos;
- char *escaped_network;
+ char *unescaped_network;
/* If its a key under the network name, zero out the slash so we
* are left with only the network name.
*/
- if ((slash_pos = strchr (network, '/')))
+ unescaped_network = gnome_vfs_unescape_string (network, "");
+ if ((slash_pos = strchr (unescaped_network, '/')))
*slash_pos = '\0';
- escaped_network = gnome_vfs_escape_string (network);
- nmi_dbus_signal_update_network (info->connection, network, NETWORK_TYPE_ALLOWED);
- g_free (escaped_network);
+ nmi_dbus_signal_update_network (info->connection, unescaped_network, NETWORK_TYPE_ALLOWED);
+ g_free (unescaped_network);
g_free (network);
}
}
diff --git a/info-daemon/NetworkManagerInfoDbus.c b/info-daemon/NetworkManagerInfoDbus.c
index 6f2b5c3f27..1f8457bb7f 100644
--- a/info-daemon/NetworkManagerInfoDbus.c
+++ b/info-daemon/NetworkManagerInfoDbus.c
@@ -488,7 +488,7 @@ static DBusHandlerResult nmi_dbus_nmi_message_handler (DBusConnection *connectio
method = dbus_message_get_member (message);
path = dbus_message_get_path (message);
- syslog (LOG_WARNING, "nmi_dbus_nmi_message_handler() got method %s for path %s", method, path);
+/* syslog (LOG_WARNING, "nmi_dbus_nmi_message_handler() got method %s for path %s", method, path);*/
if (strcmp ("getKeyForNetwork", method) == 0)
{