summarylogtreecommitdiffstats
path: root/enable-new-connections-for-everyone-as-default.patch
diff options
context:
space:
mode:
authorOskari Rauta2016-09-07 20:55:45 +0300
committerOskari Rauta2016-09-07 20:55:45 +0300
commit4ae52abec52095a02636d8d16fb5b64a9b1cf4a3 (patch)
tree85a7e4fbd76fa9c8d81e15e2e6ad990fb0c9e022 /enable-new-connections-for-everyone-as-default.patch
downloadaur-4ae52abec52095a02636d8d16fb5b64a9b1cf4a3.tar.gz
Initial commit
Diffstat (limited to 'enable-new-connections-for-everyone-as-default.patch')
-rw-r--r--enable-new-connections-for-everyone-as-default.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/enable-new-connections-for-everyone-as-default.patch b/enable-new-connections-for-everyone-as-default.patch
new file mode 100644
index 000000000000..080a0d867c05
--- /dev/null
+++ b/enable-new-connections-for-everyone-as-default.patch
@@ -0,0 +1,24 @@
+--- network-manager-applet-1.4.0/src/applet-device-wifi.c.orig 2016-09-06 23:47:42.579351733 +0300
++++ network-manager-applet-1.4.0/src/applet-device-wifi.c 2016-09-06 23:48:23.779352302 +0300
+@@ -539,7 +539,7 @@
+
+ /* Make the new connection available only for the current user */
+ s_con = (NMSettingConnection *) nm_setting_connection_new ();
+- nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL);
++ // nm_setting_connection_add_permission (s_con, "user", g_get_user_name (), NULL);
+ nm_connection_add_setting (connection, NM_SETTING (s_con));
+
+ ssid = nm_access_point_get_ssid (ap);
+--- network-manager-applet-1.4.0/src/mobile-helpers.c.orig 2016-09-06 23:51:40.702688353 +0300
++++ network-manager-applet-1.4.0/src/mobile-helpers.c 2016-09-06 23:52:05.179355356 +0300
+@@ -219,8 +219,8 @@
+ NM_SETTING_CONNECTION_UUID, uuid,
+ NULL);
+ /* Make the new connection available only for the current user */
+- nm_setting_connection_add_permission ((NMSettingConnection *) setting,
+- "user", g_get_user_name (), NULL);
++ //nm_setting_connection_add_permission ((NMSettingConnection *) setting,
++ // "user", g_get_user_name (), NULL);
+ g_free (uuid);
+ g_free (id);
+ nm_connection_add_setting (connection, setting);