gnome-control-center/gnome-control-center-network-allocate-nm-connection.patch
Vincent Untz 2808362889 Accepting request 86862 from home:gary_lin:branches:GNOME:Factory
- Add gnome-control-center-network-allocate-nm-connection.patch:
  allocate nm-connection for nma-wireless-dialog so that the user
  can configure the wireless conection settings. bgo#648174

OBS-URL: https://build.opensuse.org/request/show/86862
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=117
2011-10-06 21:30:25 +00:00

26 lines
893 B
Diff

From fafc200c9017d152da2ce59c34130456133a2de6 Mon Sep 17 00:00:00 2001
From: Gary Ching-Pang Lin <chingpang@gmail.com>
Date: Thu, 6 Oct 2011 12:16:59 +0800
Subject: [PATCH] network: allocate nm-connection for nma-wireless-dialog
---
panels/network/network-dialogs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/panels/network/network-dialogs.c b/panels/network/network-dialogs.c
index d446dbd..196c6ef 100644
--- a/panels/network/network-dialogs.c
+++ b/panels/network/network-dialogs.c
@@ -281,6 +281,8 @@ cc_network_panel_connect_to_8021x_network (CcNetworkPanel *panel,
return;
}
+ connection = nm_connection_new ();
+
/* Need a UUID for the "always ask" stuff in the Dialog of Doom */
s_con = (NMSettingConnection *) nm_setting_connection_new ();
uuid = nm_utils_uuid_generate ();
--
1.7.3.4