[haiku-development] Re: Set a custom icon for a BAlert

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 01 Aug 2012 20:35:58 +0200

Ryan Leavengood wrote:
> On Wed, Aug 1, 2012 at 8:53 AM, François Revol <revol@xxxxxxx> wrote:
> > On 01/08/2012 13:40, John Scipione wrote:
> >> Now, I could create a custom AboutWindow class (there already is one
> >> in fact) and reproduce BAlert there with the extra icon functionality
> >> instead, but, I can see how being able to set the icon on an alert
> >> dialog could be useful in other situations.
> >>
> >> Any objections to me adding this feature?
> >
> > I thought we were removing about boxes...
> 
> Yes I believe at one point there was discussion of that, but frankly I
> think it is a bad idea. Sure in some cases about boxes are just a
> hard-to-maintain list of who worked on it, but they can and should
> also provide some other useful information. BApplication has an entire
> method dedicated to showing the about box so I think not having them
> in included Haiku applications is bad form.

FWIW I disagree for reasons already discussed at length in an older thread.

Regarding the API extension, that would be OK IMO, though generally I find that 
this kind of extension scales better by providing setter methods instead.

CU, Ingo

Other related posts: