Re: DBus Properties 0.7.0 Device question



Tambet Ingo wrote:
On Wed, Dec 17, 2008 at 22:39, Simon Schampijer <simon schampijer de> wrote:
Philip Culver wrote:
Some addtional information.

If I execute:

dbus-send --system --dest=org.freedesktop.NetworkManager
--print-reply /org/freedesktop/Hal/devices/net_00_13_02_06_6d_ee
org.freedesktop.DBus.Properties.Get
string:'org.freedesktop.NetworkManager.Device.Wireless'
string:'HwAddress'

I get the proper value with a Get call.  If I execute the GetAll method
I always get the generic the Device properties.
That is an interesting one. I actually saw the same problem with using the
dbus python interface when doing an GetAll on a wired device.

It's a bug in dbus-glib. It never even looks at the DBus interface (it
only needs to be a string) which is passed to GetAll() method:

http://cgit.freedesktop.org/dbus/dbus-glib/tree/dbus/dbus-gobject.c#n1442

Tambet


ok, makes sense - Dan was so kind to file it:

http://bugs.freedesktop.org/show_bug.cgi?id=19145

Thanks,
   Simon


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