HAL Device Manager: don't display bool
John (J5) Palmieri
johnp at redhat.com
Thu Jul 21 10:51:03 PDT 2005
On Thu, 2005-07-21 at 10:00 -0400, David Zeuthen wrote:
> On Wed, 2005-07-20 at 13:53 +0200, Danny Kukawka wrote:
> > Hi,
> >
> > I'm not a Python developer, so maybe someone else can fix this bug:
> >
> > hal-device-manager (tested with hal 0.5.3) display a bool type of a key always
> > as int.
>
> It does, and I'm not sure exactly why - I think this is either because
> Python got no boolean type or there is something with the bindings.
> However, johnp knows much more about Python than me, so I've copied him
> on this mail :-)
Ah, it looks like Pyrex doesn't convert dbus_bool_t to a bool so I will
have to cast it when I return it. Will get to that and test it at some
point next week.
--
John (J5) Palmieri <johnp at redhat.com>
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list