summaryrefslogtreecommitdiff
path: root/examples/python/add-system-connection.py
diff options
context:
space:
mode:
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 d8902a13e..f55d0df0b 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)