[network-manager-applet/polkit1] editor: don't request 802.1x secrets for non-802.1x connections
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-applet/polkit1] editor: don't request 802.1x secrets for non-802.1x connections
- Date: Sat, 22 Aug 2009 16:09:41 +0000 (UTC)
commit 0282bb3fcd5828cea67de145d27577ce4dd03f40
Author: Dan Williams <dcbw redhat com>
Date: Sat Aug 22 11:08:38 2009 -0500
editor: don't request 802.1x secrets for non-802.1x connections
Was causing all wired system connection edits to fail because secrets
for the 802.1x setting couldn't be found because they didn't exist.
src/connection-editor/page-wired-security.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/page-wired-security.c b/src/connection-editor/page-wired-security.c
index c5150ef..a1db027 100644
--- a/src/connection-editor/page-wired-security.c
+++ b/src/connection-editor/page-wired-security.c
@@ -120,7 +120,9 @@ ce_page_wired_security_new (NMConnection *connection, GtkWindow *parent_window,
priv->enabled = GTK_TOGGLE_BUTTON (gtk_check_button_new_with_label (_("Use 802.1X security for this connection")));
g_signal_connect (self, "initialized", G_CALLBACK (finish_setup), NULL);
- if (!ce_page_initialize (parent, NM_SETTING_802_1X_SETTING_NAME, error)) {
+ if (!ce_page_initialize (parent,
+ priv->initial_have_8021x ? NM_SETTING_802_1X_SETTING_NAME : NULL,
+ error)) {
g_object_unref (self);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]