[arch-commits] Commit in network-manager-applet/trunk (1 file)
Jan Steffens
heftig at archlinux.org
Tue Mar 1 22:54:45 UTC 2011
Date: Tuesday, March 1, 2011 @ 17:54:44
Author: heftig
Revision: 111916
Whoops, add patch
Added:
network-manager-applet/trunk/0001-editor-fix-usage-of-nm_connection_update_secrets.patch
-------------------------------------------------------------+
0001-editor-fix-usage-of-nm_connection_update_secrets.patch | 27 ++++++++++
1 file changed, 27 insertions(+)
Added: 0001-editor-fix-usage-of-nm_connection_update_secrets.patch
===================================================================
--- 0001-editor-fix-usage-of-nm_connection_update_secrets.patch (rev 0)
+++ 0001-editor-fix-usage-of-nm_connection_update_secrets.patch 2011-03-01 22:54:44 UTC (rev 111916)
@@ -0,0 +1,27 @@
+From abba62fe1c22422bb84f12875fd3612b90ead434 Mon Sep 17 00:00:00 2001
+From: Dan Williams <dcbw at redhat.com>
+Date: Mon, 28 Feb 2011 08:14:30 -0600
+Subject: [PATCH] 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);
+--
+1.7.4.1
+
More information about the arch-commits
mailing list