Re: Confusing about DBus API specification



Hello Toan,

you have a typo in paths. They should be 
/org/freedesktop/NetworkManagerSettings (for both settings services).

I.e.:
#proxy_user_setting = 
bus.get_object("org.freedesktop.NetworkManagerUserSettings", 
"/org/freedesktop/NetworkManagerSettings")
settings = dbus.Interface(proxy_user_setting, 
"org.freedesktop.NetworkManagerSettings")
proxy_sys_setting = 
bus.get_object("org.freedesktop.NetworkManagerSystemSettings", 
"/org/freedesktop/NetworkManagerSettings")

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]