Disable the error bell in the detailed events view
[lttv.git] / lttv / modules / gui / detailedevents / events.c
index 1ec3e5b2f7add71f621e521400918c593449a000..27330c8d1cd58fe4a81442c176adb29704efa736 100644 (file)
@@ -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;
This page took 0.023483 seconds and 4 git commands to generate.