info.icon in HAL

Richard Hughes hughsient at gmail.com
Fri Mar 2 02:41:26 PST 2007


On 02/03/07, Doug Goldstein <cardoe at gentoo.org> wrote:
> Richard Hughes wrote:
> > On 01/03/07, Danny Kukawka <danny.kukawka at web.de> wrote:
> >> On Donnerstag, 1. März 2007, Richard Hughes wrote:
> >> > Attached patch adds info.icon to the spec. It's expected that all the
> >> > icon logic be in hal-info, for which another patch is attached.
> >>
> >> What have HAL to do with icons? This isn't hardware abstraction! This
> >> is some kind of desktop policy.
> >
> > Well, as David has mentioned before, HAL is a really bad name.
> >
> > I do think this fits in HAL for a few reasons:
> >
> > * we are defining what type of hardware the device is
> > * we are in an ideal position to match with XML fdi files against
> > vendor Id's and stuff
> > * we can be cross desktop as we are using the freedesktop names
> > * we can launch probers if we need to, to get more detailed info about
> > the hardware
> > * we don't have to re-impliment the rules and the matching in GNOME,
> > KDE, XFCE etc
> > * we can define the rules in hal-info with a stable rapid release
> > policy so we can get icons for new devices as they are released
> >
> >> I wounder about this, also because we already marked the icon functions
> >> HAL provided e.g. in libhal-storage as LIBHAL_DEPRECATED to remove them
> >> soon - and now we add something similar again?
> >
> > No, I don't think stuff like gnome-vfs should call some random method,
> > I think it should just read a property, and load an icon from the same
> > HalDevice. This stuff shouldn't have to be rocket science for the
> > session.
> >
> >> This sounds not really sane.
> >
> > Does it sound any less cracktastic with the ideas above?
> >
> > Richard.
>
> Are you planning on literally providing the graphics or just references
> to what type of icon should load? Because lots of people like when their
> icons change when they change icon themes. If HAL is provided a constant
> set of icons, then I should hope you have some theming plans, which I
> have to agree with Danny here... HAL is becoming ridiculous... stop
> trying to shove everything and the kitchen sink into it..

Just freedesktop names for the icons, for instance Echo or Tango can
provide versions for them and everything is themed nicely.

Richard.


More information about the hal mailing list