Re: getting state of a VPN connection via DBus in Python

2012-06-28 Thread Ariyan
Thank you very much On Thu, Jun 28, 2012 at 7:55 PM, Dan Williams d...@redhat.com wrote: On Thu, 2012-06-28 at 07:34 +0430, Ariyan wrote: Hi Thank you very much it worked I will update to NM 0.9.x as soon as possible! ActiveConnections of /org/freedesktop/NetworkManager only lists

Re: getting state of a VPN connection via DBus in Python

2012-06-27 Thread Ariyan
, Jun 28, 2012 at 1:11 AM, Dan Williams d...@redhat.com wrote: On Sat, 2012-06-23 at 22:32 +0430, Ariyan wrote: I'm trying to get state of a VPN connection via DBus in Python. Here is my code: name=testVPN proxy = dbus.SystemBus().get_object

getting state of a VPN connection via DBus in Python

2012-06-26 Thread Ariyan
I'm trying to get state of a VPN connection via DBus in Python. Here is my code: name=testVPN proxy = dbus.SystemBus().get_object('org.freedesktop.NetworkManagerUserSettings', '/org/freedesktop/NetworkManagerSettings') iface = dbus.Interface(proxy,