about 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-04-08 07:31:15 +0200
committerMichael Biebl <biebl@debian.org>2011-04-08 07:31:15 +0200
commit9f612fa9c09bbdc00071d871316da870c6bf0023 (patch)
tree9c1be60eceefb3b069df4d2780f9c14967a62edc /examples/python/add-system-connection.py
parentaf468d82c62191b070d569257eb2f2ac61da98cc (diff)
parentf75dd6fd1975146623052b843b182dc32c3fbe46 (diff)
Merge commit 'upstream/0.8.998' into experimental
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)