summary refs log tree commit diff
path: root/examples/python/add-system-connection.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
committerMichael Biebl <biebl@debian.org>2011-05-04 21:35:41 +0200
commit9f806e97a24bba61417ae312fcc0da40914266fb (patch)
tree4a25723414ceac11b4cba0558aa16f6f4b459f4b /examples/python/add-system-connection.py
parent8baa1aca8dfd35e3190d7d5655eb83b5b901e263 (diff)
Imported Upstream version 0.8.999 upstream/0.8.999
Diffstat (limited to 'examples/python/add-system-connection.py')
-rwxr-xr-xexamples/python/add-system-connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/add-system-connection.py b/examples/python/add-system-connection.py
index d8902a13..f55d0df0 100755
--- a/examples/python/add-system-connection.py
+++ b/examples/python/add-system-connection.py
@@ -41,8 +41,8 @@ con = dbus.Dictionary({
 
 bus = dbus.SystemBus()
 
-proxy = bus.get_object("org.freedesktop.NetworkManagerSystemSettings", "/org/freedesktop/NetworkManagerSettings")
-settings = dbus.Interface(proxy, "org.freedesktop.NetworkManagerSettings")
+proxy = bus.get_object("org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager/Settings")
+settings = dbus.Interface(proxy, "org.freedesktop.NetworkManager.Settings")
 
 settings.AddConnection(con)