[haiku-commits] Re: r40381 - haiku/trunk/src/apps/people

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 8 Feb 2011 16:32:42 +0100

> Reimplemented how People works. The previously hard-coded attribute list
> is now only a fallback attribute list which is install in case the Person
> MIME type has no attributes at all. Otherwise the GUI is completely driven
> by the current Person attributes, as configured (and sorted) by FileTypes.
> This has been on my mental TODO list since years. Finally one can add
> a "Cell phone" attribute in Filetypes and actually see and edit it in
> People. Or a birth day attribute.

Nice!

A few months ago I started to add support for storing a picture in
Person files too, something which was
on my TODO list since years too.

But I'm not that (yet) fluent with layout API to find my way to
integrate it without
making the whole window ugly, or too big, or both.
Anyway, it was supporting dropping a image file on it, live updating
and features blended
Person icon when no picture is present yet.

Do you mind if I commit this class to avoid its always possible loss?
Maybe you guys more at ease with layout stuffs could find a way to
integrate it better and faster than I will even could.

Bye,
  Philippe

Other related posts: