Re: [PATCH v2 2/2] perf ui/gtk: Use struct perf_error_ops

From: Pekka Enberg
Date: Mon May 07 2012 - 03:25:02 EST


On Mon, May 7, 2012 at 9:03 AM, Namhyung Kim <namhyung.kim@xxxxxxx> wrote:
> Define and use perf_gtk_eops to provide a GTK2 message
> dialog for error reporting. To do that, we need global
> main_window variable for tracking UI state.
>
> Signed-off-by: Namhyung Kim <namhyung.kim@xxxxxxx>

I still don't like the dialog-based approach because it requires the
*user* to respond. Just add a label to the GTK window and show the
latest message there. If you want to make it even prettier, make the
label clickable and open up a popup that shows all the warnings and
errors in a separate window...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/