[network-manager-applet/NMA_0_8] editor: fix usage of nm_connection_update_secrets()
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/NMA_0_8] editor: fix usage of nm_connection_update_secrets()
- Date: Mon, 28 Feb 2011 16:15:45 +0000 (UTC)
commit abba62fe1c22422bb84f12875fd3612b90ead434
Author: Dan Williams <dcbw redhat com>
Date: Mon Feb 28 08:14:30 2011 -0600
editor: fix usage of nm_connection_update_secrets()
It takes the string:GValue hash of one settings' secrets, not
the hash of all settings. Use it correctly.
src/connection-editor/ce-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index 79730b0..b97e8c0 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -210,7 +210,7 @@ ce_page_complete_init (CEPage *self,
/* Update the connection with the new secrets */
if (nm_connection_update_secrets (self->connection,
setting_name,
- secrets,
+ setting_hash,
&update_error)) {
/* Success */
emit_initialized (self, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]