NetworkManager/src/vpn-manager
Dan Williams bc6fc7b910 vpn: fix VPN active connection D-Bus API handling (bgo #569294)
Due to limitations in dbus-glib, where one GObject cannot have more
than one introspection XML object attached to it, we used to include
more than one <interface> in the VPNConnection object introspection
XML.  This was suboptimal for two reasons:

1) it duplicated the Connection.Active introspection XML which
made it harder for clients to use the introspection data in a
dynamic fashion, besides looking ugly in the docs

2) not many other programs use this feature of dbus-glib, which
means it didn't get a lot of testing, and broke, which sucks
for NM.

To fix this issue, create a base class for NMVpnConnection that
handles the Connection.Active API, and make NMVpnConnection itself
handle just the VPN pieces that it layers on top.  This  makes
dbus-glib happy because we aren't using two <interface> blocks
in the same introspection XML, and it makes the NM code more
robust because we can re-use the existing Connection.Active
introspection XML in the NMVpnConnectionBase class.
2011-01-25 12:41:03 -06:00
..
Makefile.am vpn: fix VPN active connection D-Bus API handling (bgo #569294) 2011-01-25 12:41:03 -06:00
nm-vpn-connection-base.c vpn: fix VPN active connection D-Bus API handling (bgo #569294) 2011-01-25 12:41:03 -06:00
nm-vpn-connection-base.h vpn: fix VPN active connection D-Bus API handling (bgo #569294) 2011-01-25 12:41:03 -06:00
nm-vpn-connection.c vpn: fix VPN active connection D-Bus API handling (bgo #569294) 2011-01-25 12:41:03 -06:00
nm-vpn-connection.h vpn: fix VPN active connection D-Bus API handling (bgo #569294) 2011-01-25 12:41:03 -06:00
nm-vpn-manager.c vpn: handle VPN service installation/removal dynamically (rh #489114) (lp:458595) 2010-08-17 15:05:00 -05:00
nm-vpn-manager.h core: PolicyKit protect Deactivate and Disconnect 2010-06-04 00:42:10 -07:00
nm-vpn-service.c build: include <config.h> for kill(2), isblank(3), and isascii(3) 2010-10-08 22:46:55 -05:00
nm-vpn-service.h vpn: handle VPN service installation/removal dynamically (rh #489114) (lp:458595) 2010-08-17 15:05:00 -05:00