From 154f2f45343f99dc6b258b49a83e40dfe9b1ecc8 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 27 Jan 2009 11:31:21 -0500 Subject: [PATCH] libnm-util: default 'autoconnect' to true Like the NetworkManagerConfigurationSpecification wiki page has stated for quite a long time. --- libnm-util/nm-setting-connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnm-util/nm-setting-connection.c b/libnm-util/nm-setting-connection.c index a1dd5d8cfe..c0f246faa6 100644 --- a/libnm-util/nm-setting-connection.c +++ b/libnm-util/nm-setting-connection.c @@ -431,14 +431,14 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * Whether or not the connection should be automatically connected by * NetworkManager when the resources for the connection are available. * %TRUE to automatically activate the connection, %FALSE to require manual - * intervention to activate the connection. + * intervention to activate the connection. Defaults to %TRUE. **/ g_object_class_install_property (object_class, PROP_AUTOCONNECT, g_param_spec_boolean (NM_SETTING_CONNECTION_AUTOCONNECT, "Autoconnect", "Connection autoconnect", - FALSE, + TRUE, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_FUZZY_IGNORE)); /**