From d1e73f0ece03529a51ab5d12a85ae6239111d0c8 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 18 Mar 2022 14:57:08 +0100 Subject: [PATCH] introspection: unbreak a couple of docstrings A couple of argument documentation strings were long enough to be broken up to span over multiple lines. gdbus-codegen, on the other hand, was of differing opinion and promptly punished the offense by garbling the resulting docbook. Merge the string into single lines. --- ...rg.freedesktop.NetworkManager.Settings.xml | 5 ++++- .../org.freedesktop.NetworkManager.xml | 22 +++++++++---------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/introspection/org.freedesktop.NetworkManager.Settings.xml b/introspection/org.freedesktop.NetworkManager.Settings.xml index ace4011b5..7e6ff802d 100644 --- a/introspection/org.freedesktop.NetworkManager.Settings.xml +++ b/introspection/org.freedesktop.NetworkManager.Settings.xml @@ -117,7 +117,6 @@ LoadConnections: @filenames: Array of paths to on-disk connection profiles in directories monitored by NetworkManager. @status: Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied). - Note that before 1.20, NetworkManager had a bug and this @status value was wrong. It is better to assume success if the method does not return with a D-Bus error. On top of that, you can look at @failures to know whether any of the requested files failed. @failures: Paths of connection files that could not be loaded. Loads or reloads the indicated connections from disk. You should call this @@ -125,6 +124,10 @@ that NetworkManager sees the changes. As with AddConnection(), this operation does not necessarily start the network connection. + + Note that before 1.20, NetworkManager had a bug and this @status value was wrong. + It is better to assume success if the method does not return with a D-Bus error. + On top of that, you can look at @failures to know whether any of the requested files failed. --> diff --git a/introspection/org.freedesktop.NetworkManager.xml b/introspection/org.freedesktop.NetworkManager.xml index 475f329f2..9b5ceb04d 100644 --- a/introspection/org.freedesktop.NetworkManager.xml +++ b/introspection/org.freedesktop.NetworkManager.xml @@ -119,8 +119,7 @@ @options: Further options for the method call. @path: Object path of the new connection that was just added. @active_connection: The path of the active connection object representing this active connection. - @result: a dictionary of additional output arguments for future extension. Currently, not additional - output arguments are supported. + @result: a dictionary of additional output arguments for future extension. Currently, not additional output arguments are supported. Adds a new connection using the given details (if any) as a template (automatically filling in missing settings with the capabilities of the @@ -287,18 +286,19 @@