[network-manager-applet] Don't clear secrets in import_cb().
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] Don't clear secrets in import_cb().
- Date: Sat, 21 May 2011 01:50:26 +0000 (UTC)
commit 3cc8be04ef3e95b745304707cf8d420517f74787
Author: David Woodhouse <David Woodhouse intel com>
Date: Thu May 19 23:46:38 2011 +0100
Don't clear secrets in import_cb().
If we don't want secrets to be set, then we shouldn't be setting them in
the connection in the first place. As far as I can tell, nothing *does*.
Yet.
But I want to, for the openconnect migration
src/applet.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 050b054..322defa 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3226,7 +3226,6 @@ import_cb (NMConnection *connection, gpointer user_data)
{
NMApplet *applet = user_data;
- nm_connection_clear_secrets (connection);
if (!nm_remote_settings_add_connection (applet->settings, connection, add_cb, g_object_ref (connection))) {
g_warning ("Failed to move connection '%s' to NetworkManager system settings.",
nm_connection_get_id (connection));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]