Hello community, here is the log from the commit of package NetworkManager-gnome for openSUSE:12.1:Update:Test checked in at 2012-01-03 17:43:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/NetworkManager-gnome (Old) and /work/SRC/openSUSE:12.1:Update:Test/.NetworkManager-gnome.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "NetworkManager-gnome", Maintainer is "gnome-maintainers@suse.de" Changes: -------- --- /work/SRC/openSUSE:12.1:Update:Test/NetworkManager-gnome/NetworkManager-gnome.changes 2011-12-19 17:24:51.000000000 +0100 +++ /work/SRC/openSUSE:12.1:Update:Test/.NetworkManager-gnome.new/NetworkManager-gnome.changes 2012-01-03 17:43:07.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Dec 23 04:09:39 UTC 2011 - glin@suse.com + +- Add NetworkManager-gnome-private-connections-by-default.patch to + create the private connections by default (bnc#731812) + +------------------------------------------------------------------- New: ---- NetworkManager-gnome-private-connections-by-default.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NetworkManager-gnome.spec ++++++ --- /var/tmp/diff_new_pack.n9MU9R/_old 2012-01-03 17:43:07.000000000 +0100 +++ /var/tmp/diff_new_pack.n9MU9R/_new 2012-01-03 17:43:07.000000000 +0100 @@ -51,6 +51,8 @@ Patch4: NetworkManager-gnome-correct-label-name.patch # PATCH-FIX-OPENSUSE NetworkManager-gnome-hide-ws-page-note.patch bnc#732700 glin@suse.com -- Hide the note label when there is no 8021x setting Patch5: NetworkManager-gnome-hide-ws-page-note.patch +# PATCH-FIX-OPENSUSE NetworkManager-gnome-private-connections-by-default.patch bnc#731812 glin@suse.com -- Create the private connections by default +Patch6: NetworkManager-gnome-private-connections-by-default.patch Provides: NetworkManager-client Requires: NetworkManager >= 0.9.1 # needed for translated country names @@ -91,6 +93,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build %configure \ ++++++ NetworkManager-gnome-private-connections-by-default.patch ++++++ diff --git a/src/applet-device-cdma.c b/src/applet-device-cdma.c index 7894df2..7e63ca0 100644 --- a/src/applet-device-cdma.c +++ b/src/applet-device-cdma.c @@ -148,6 +148,10 @@ mobile_wizard_done (NMAMobileWizard *wizard, NULL); g_free (uuid); g_free (id); + nm_setting_connection_add_permission ((NMSettingConnection *)setting, + "user", + g_get_user_name(), + NULL); nm_connection_add_setting (connection, setting); } diff --git a/src/applet-device-gsm.c b/src/applet-device-gsm.c index d2740ef..dc1f8ab 100644 --- a/src/applet-device-gsm.c +++ b/src/applet-device-gsm.c @@ -174,6 +174,10 @@ mobile_wizard_done (NMAMobileWizard *wizard, NULL); g_free (uuid); g_free (id); + nm_setting_connection_add_permission ((NMSettingConnection *)setting, + "user", + g_get_user_name(), + NULL); nm_connection_add_setting (connection, setting); } diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c index 79ac78b..e11945f 100644 --- a/src/applet-device-wifi.c +++ b/src/applet-device-wifi.c @@ -467,6 +467,13 @@ _do_new_auto_connection (NMApplet *applet, nm_connection_add_setting (connection, NM_SETTING (s_8021x)); } + s_con = nm_connection_get_setting_connection (connection); + if (!s_con) { + s_con = (NMSettingConnection *) nm_setting_connection_new (); + nm_connection_add_setting (connection, NM_SETTING (s_con)); + } + nm_setting_connection_add_permission (s_con, "user", g_get_user_name(), NULL); + /* If it's an 802.1x connection, we need more information, so pop up the * Dialog Of Doom. */ diff --git a/src/applet-device-wimax.c b/src/applet-device-wimax.c index 5a4a6c2..ed7646c 100644 --- a/src/applet-device-wimax.c +++ b/src/applet-device-wimax.c @@ -94,6 +94,7 @@ wimax_new_auto_connection (NMDevice *device, NM_SETTING_CONNECTION_UUID, uuid, NULL); g_free (uuid); + nm_setting_connection_add_permission (s_con, "user", g_get_user_name(), NULL); nm_connection_add_setting (connection, NM_SETTING (s_con)); diff --git a/src/applet-device-wired.c b/src/applet-device-wired.c index cc53a24..ff6d513 100644 --- a/src/applet-device-wired.c +++ b/src/applet-device-wired.c @@ -86,6 +86,7 @@ wired_new_auto_connection (NMDevice *device, NM_SETTING_CONNECTION_UUID, uuid, NULL); g_free (uuid); + nm_setting_connection_add_permission (s_con, "user", g_get_user_name(), NULL); nm_connection_add_setting (connection, NM_SETTING (s_con)); diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c index 2f59416..47de474 100644 --- a/src/connection-editor/ce-page.c +++ b/src/connection-editor/ce-page.c @@ -510,6 +510,7 @@ ce_page_new_connection (const char *format, g_free (uuid); g_free (id); + nm_setting_connection_add_permission (s_con, "user", g_get_user_name(), NULL); return connection; } diff --git a/src/gnome-bluetooth/bt-widget.c b/src/gnome-bluetooth/bt-widget.c index dade65c..303c054 100644 --- a/src/gnome-bluetooth/bt-widget.c +++ b/src/gnome-bluetooth/bt-widget.c @@ -256,6 +256,10 @@ add_pan_connection (PluginInfo *info) NULL); g_free (id); g_free (uuid); + nm_setting_connection_add_permission ((NMSettingConnection *)setting, + "user", + g_get_user_name(), + NULL); nm_connection_add_setting (connection, setting); /* The Bluetooth settings */ @@ -421,6 +425,10 @@ dun_new_cdma (NMAMobileWizardAccessMethod *method) NULL); g_free (uuid); g_free (id); + nm_setting_connection_add_permission ((NMSettingConnection *)setting, + "user", + g_get_user_name(), + NULL); nm_connection_add_setting (connection, setting); return connection; @@ -470,6 +478,10 @@ dun_new_gsm (NMAMobileWizardAccessMethod *method) NULL); g_free (uuid); g_free (id); + nm_setting_connection_add_permission ((NMSettingConnection *)setting, + "user", + g_get_user_name(), + NULL); nm_connection_add_setting (connection, setting); return connection; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org