RE: DBus Properties 0.7.0 Device question



Thanks!

-----Original Message-----
From: Tambet Ingo [mailto:tambet gmail com] 
Sent: Thursday, December 18, 2008 5:14 AM
To: Simon Schampijer
Cc: Philip Culver; networkmanager-list gnome org
Subject: Re: DBus Properties 0.7.0 Device question

On Thu, Dec 18, 2008 at 11:34, Simon Schampijer <simon schampijer de> wrote:
> 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

I was even kinder, I just fixed it. :) Attached the patch to the bugzilla.

Tambet



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