From 2295e5fbe019a0c445a9fe01e7c00314a55f0339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Thu, 14 Mar 2013 10:36:50 +0100 Subject: [PATCH] libnm-util: add the detailed description of interface-name to blurb as well So that the description is in the generated documentation and nm-settings(5) manual page. --- libnm-util/nm-setting-connection.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libnm-util/nm-setting-connection.c b/libnm-util/nm-setting-connection.c index 16c3e73bf4..b88bc2dad5 100644 --- a/libnm-util/nm-setting-connection.c +++ b/libnm-util/nm-setting-connection.c @@ -1050,7 +1050,7 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * appropriate type (subject to restrictions imposed by other settings). * * For connection types where interface names cannot easily be - * made persistent (eg, mobile broadband or USB ethernet), this + * made persistent (e.g. mobile broadband or USB ethernet), this * property should not be used. Setting this property restricts * the interfaces a connection can be used with, and if interface * names change or are reordered the connection may be applied to @@ -1060,7 +1060,17 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) (object_class, PROP_INTERFACE_NAME, g_param_spec_string (NM_SETTING_CONNECTION_INTERFACE_NAME, "Interface name", - "Interface name to be bound to, or NULL", + "Interface name this connection is bound to. " + "If not set, then the connection can be attached " + "to any interface of the appropriate type (subject " + "to restrictions imposed by other settings). For " + "connection types where interface names cannot easily " + "be made persistent (e.g. mobile broadband or USB " + "ethernet), this property should not be used. Setting " + "this property restricts the interfaces a connection can " + "be used with, and if interface names change or are " + "reordered the connection may be applied to the wrong " + "interface.", NULL, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));