diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-03-05 15:30:24 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-03-17 10:21:19 +0100 |
commit | 8b649a8c84c0d46c1d4108da34567ee37765acd8 (patch) | |
tree | 5275ec0d9e0fd624ef9d8cccfa5aba738bb27253 /introspection | |
parent | 67688fd2e5d68ef0f59b8034ed7f8d2f925f07e1 (diff) | |
download | NetworkManager-8b649a8c84c0d46c1d4108da34567ee37765acd8.tar.gz |
active-connection: emit a StateChanged signal on state changes
It includes a reason code that makes it possible for the clients to be
more reasonable about error messages.
The reason code is essentially copied from the VPN, plus three more
reasons that were useful for non-VPN connections.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.NetworkManager.Connection.Active.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Connection.Active.xml b/introspection/org.freedesktop.NetworkManager.Connection.Active.xml index 3ffa4cd67a..31a485c9ff 100644 --- a/introspection/org.freedesktop.NetworkManager.Connection.Active.xml +++ b/introspection/org.freedesktop.NetworkManager.Connection.Active.xml @@ -81,6 +81,20 @@ <property name="State" type="u" access="read"/> <!-- + StateChanged: + @state: (<link linkend="NMActiveConnectionState">NMActiveConnectionState</link>) The new state of the active connection. + @reason: (<link linkend="NMActiveConnectionStateReason">NMActiveConnectionStateReason</link>) Reason code describing the change to the new state. + + Emitted when the state of the active connection has changed. + + Since: 1.8 + --> + <signal name="StateChanged"> + <arg name="state" type="u"/> + <arg name="reason" type="u"/> + </signal> + + <!-- Default: Whether this active connection is the default IPv4 connection, i.e. |