Commit 2fef9879 authored by Jiří Klimeš's avatar Jiří Klimeš

libnm-util: add the detailed description of carrier-detect to blurb as well

So that we have the description in generated html documentation and nm-settings
manual page.
parent 1dca1e3c
......@@ -340,7 +340,13 @@ nm_setting_infiniband_class_init (NMSettingInfinibandClass *setting_class)
(object_class, PROP_CARRIER_DETECT,
g_param_spec_string (NM_SETTING_INFINIBAND_CARRIER_DETECT,
"Carrier-detect",
"Controls whether device carrier affects this connection.",
"Controls whether device carrier affects this connection. "
"Possible values are 'no', meaning the connection completely "
"ignores carrier; 'yes', meaning the connection can only be "
"activated if carrier is present, and will be deactivated "
"automatically if carrier is lost; and 'on-activate', meaning "
"the connection can only be activated if carrier is present, "
"but will not be deactivated if carrier is lost.",
"yes",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE));
}
......
......@@ -819,7 +819,13 @@ nm_setting_vlan_class_init (NMSettingVlanClass *setting_class)
(object_class, PROP_CARRIER_DETECT,
g_param_spec_string (NM_SETTING_VLAN_CARRIER_DETECT,
"Carrier-detect",
"Controls whether device carrier affects this connection.",
"Controls whether device carrier affects this connection. "
"Possible values are 'no', meaning the connection completely "
"ignores carrier; 'yes', meaning the connection can only be "
"activated if carrier is present, and will be deactivated "
"automatically if carrier is lost; and 'on-activate', meaning "
"the connection can only be activated if carrier is present, "
"but will not be deactivated if carrier is lost.",
"yes",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE));
}
......@@ -916,7 +916,13 @@ nm_setting_wired_class_init (NMSettingWiredClass *setting_class)
(object_class, PROP_CARRIER_DETECT,
g_param_spec_string (NM_SETTING_WIRED_CARRIER_DETECT,
"Carrier-detect",
"Controls whether device carrier affects this connection.",
"Controls whether device carrier affects this connection. "
"Possible values are 'no', meaning the connection completely "
"ignores carrier; 'yes', meaning the connection can only be "
"activated if carrier is present, and will be deactivated "
"automatically if carrier is lost; and 'on-activate', meaning "
"the connection can only be activated if carrier is present, "
"but will not be deactivated if carrier is lost.",
"yes",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment