From: FrancisDeslauriers Date: Mon, 28 May 2012 14:47:26 +0000 (-0400) Subject: Disable the error bell in the detailed events view X-Git-Tag: v1.5-beta1~89 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d42da122532e20016c897790ca07183ed85cbc63;p=lttv.git Disable the error bell in the detailed events view Signed-off-by: FrancisDeslauriers Signed-off-by: Yannick Brosseau --- diff --git a/lttv/modules/gui/detailedevents/events.c b/lttv/modules/gui/detailedevents/events.c index 1ec3e5b2..27330c8d 100644 --- a/lttv/modules/gui/detailedevents/events.c +++ b/lttv/modules/gui/detailedevents/events.c @@ -184,6 +184,11 @@ h_gui_events(LttvPlugin *plugin) EventViewerData * gui_events(LttvPluginTab *ptab) { + /*To disable the error bell when we reach the end(or the top) of the list of + event. Since we overload the management of the list*/ + GtkSettings* gtk_settings = gtk_settings_get_default(); + g_object_set(gtk_settings, "gtk-error-bell", FALSE, NULL); + LttTime end; GtkTreeViewColumn *column; GtkCellRenderer *renderer;