summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-07-07 09:35:07 -0400
committerDan Winship <danw@gnome.org>2014-07-15 09:44:55 -0400
commite42ab85f1bb3382e53c225b3ea1dc7863095a1e5 (patch)
tree94a8f5a280b5162c563fb1ca03184de0a6217eec /introspection
parent3aad3124f13dd0800cfd52dd88ac44b29d026bab (diff)
introspection: fix VPN.Plugin State type
It was listed as being tp:type="NM_VPN_CONNECTION_STATE", but it's actually NM_VPN_SERVICE_STATE (which wasn't previously documented).
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-vpn-plugin.xml42
1 files changed, 40 insertions, 2 deletions
diff --git a/introspection/nm-vpn-plugin.xml b/introspection/nm-vpn-plugin.xml
index 07397c2b97..a72fa93c2c 100644
--- a/introspection/nm-vpn-plugin.xml
+++ b/introspection/nm-vpn-plugin.xml
@@ -137,7 +137,7 @@
</arg>
</method>
- <property name="State" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
+ <property name="State" type="u" access="read" tp:type="NM_VPN_SERVICE_STATE">
<tp:docstring>
The state of the plugin.
</tp:docstring>
@@ -147,7 +147,7 @@
<tp:docstring>
Emitted when the plugin state changes.
</tp:docstring>
- <arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
+ <arg name="state" type="u" tp:type="NM_VPN_SERVICE_STATE">
<tp:docstring>
The new state of the plugin.
</tp:docstring>
@@ -251,6 +251,44 @@
</arg>
</signal>
+ <tp:enum name="NM_VPN_SERVICE_STATE" type="u">
+ <tp:enumvalue suffix="UNKNOWN" value="0">
+ <tp:docstring>
+ The state of the VPN plugin is unknown.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="INIT" value="1">
+ <tp:docstring>
+ The VPN plugin is initialized.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="SHUTDOWN" value="2">
+ <tp:docstring>
+ (Not used.)
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="STARTING" value="3">
+ <tp:docstring>
+ The plugin is attempting to connect to a VPN server.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="STARTED" value="4">
+ <tp:docstring>
+ The plugin has connected to a VPN server.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="STOPPING" value="5">
+ <tp:docstring>
+ The plugin is disconnecting from the VPN server.
+ </tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="STOPPED" value="6">
+ <tp:docstring>
+ The plugin has disconnected from the VPN server.
+ </tp:docstring>
+ </tp:enumvalue>
+ </tp:enum>
+
<tp:enum name="NM_VPN_PLUGIN_FAILURE" type="u">
<tp:enumvalue suffix="LOGIN_FAILED" value="0">
<tp:docstring>