Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755393Ab2EGHZB (ORCPT ); Mon, 7 May 2012 03:25:01 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:46524 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754721Ab2EGHZA (ORCPT ); Mon, 7 May 2012 03:25:00 -0400 MIME-Version: 1.0 In-Reply-To: <1336370582-30959-2-git-send-email-namhyung.kim@lge.com> References: <1336370582-30959-1-git-send-email-namhyung.kim@lge.com> <1336370582-30959-2-git-send-email-namhyung.kim@lge.com> Date: Mon, 7 May 2012 10:17:41 +0300 X-Google-Sender-Auth: nQSFHoW1pIUkUnY6NrCSiWRAW4k Message-ID: Subject: Re: [PATCH v2 2/2] perf ui/gtk: Use struct perf_error_ops From: Pekka Enberg To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 17 On Mon, May 7, 2012 at 9:03 AM, Namhyung Kim 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/