[haiku-commits] Re: haiku: hrev48634 - src/apps/aboutsystem

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 8 Jan 2015 10:43:50 -0500

On Thu, Jan 8, 2015 at 10:40 AM,  <pulkomandy@xxxxxxxxxxxxx> wrote:
> +void
> +AboutApp::MessageReceived(BMessage* message)
> +{
> +       switch (message->what) {
> +               case B_SILENT_RELAUNCH:
> +                       WindowAt(0)->Activate();
> +                       break;
> +       }
> +
> +       BApplication::MessageReceived(message);
> +}
> +
> +

Is this really the right way to go about fixing this one? The comments
on the mentioned ticket suggested that it should be solved generally
for all apps at the kit level, rather than forcing every app to
manually implement a hack like the above.

Regards,

Rene

Other related posts: