info.icon in HAL

Doug Goldstein cardoe at gentoo.org
Thu Mar 1 20:00:51 PST 2007


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..


-- 
Doug Goldstein <cardoe at gentoo.org>
http://dev.gentoo.org/~cardoe/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20070301/8978d255/signature.pgp


More information about the hal mailing list