Re: Confusing about DBus API specification
- From: Jirka Klimes <jklimes redhat com>
- To: Nguyen Canh Toan <Toannc5 viettel com vn>
- Cc: networkmanager-list gnome org
- Subject: Re: Confusing about DBus API specification
- Date: Wed, 28 Apr 2010 13:31:22 +0200
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]