Disable the error bell in the detailed events view
authorFrancisDeslauriers <francis.deslauriers@polymtl.ca>
Mon, 28 May 2012 14:47:26 +0000 (10:47 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Tue, 5 Jun 2012 19:38:35 +0000 (15:38 -0400)
Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
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.024359 seconds and 4 git commands to generate.