summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-10-28 10:41:18 -0700
committerDan Williams <dcbw@redhat.com>2009-10-28 10:41:18 -0700
commit671f00c86f047dfe57f43726a0eefadaad6f2734 (patch)
tree1d2b1e87031f8027aa02ccbb10def4a916e2da9f /introspection
parent294a5e31532b038e9ad31f4f9750fe6fa724da1c (diff)
introspection: synchronize VPN ActiveConnection interface
Due to dbus-glib limitations we still have to keep two copies of this, and furthermore PropertiesChanged won't yet trigger for the VPN bits since there's no way to push out signals on a different interface.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-vpn-connection.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/introspection/nm-vpn-connection.xml b/introspection/nm-vpn-connection.xml
index 233d8b0866..3a47cdf1b2 100644
--- a/introspection/nm-vpn-connection.xml
+++ b/introspection/nm-vpn-connection.xml
@@ -20,6 +20,17 @@
<property name="Default" type="b" access="read">
<tp:docstring>Whether this active connection is the default connection, i.e. whether it currently owns the default route.</tp:docstring>
</property>
+ <property name="Vpn" type="b" access="read">
+ <tp:docstring>Whether this active connection is also a VPN connection.</tp:docstring>
+ </property>
+
+ <signal name="PropertiesChanged">
+ <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
+ <tp:docstring>
+ A dictionary mapping property names to variant boxed values
+ </tp:docstring>
+ </arg>
+ </signal>
</interface>
<interface name="org.freedesktop.NetworkManager.VPN.Connection">