[sysprof] fps: use fill for fps line



commit 8a4318d4f1fccfd41cc6d0e9e040fe027bf7e0fa
Author: Christian Hergert <chergert redhat com>
Date:   Sat May 19 16:48:11 2018 +0100

    fps: use fill for fps line

 lib/visualizers/sp-visualizer-list.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/visualizers/sp-visualizer-list.c b/lib/visualizers/sp-visualizer-list.c
index 5b0c570..e99f7de 100644
--- a/lib/visualizers/sp-visualizer-list.c
+++ b/lib/visualizers/sp-visualizer-list.c
@@ -295,6 +295,8 @@ handle_capture_results (GObject      *object,
                                      NULL);
       gdk_rgba_parse (&rgba, "#204a87");
       sp_line_visualizer_row_add_counter (SP_LINE_VISUALIZER_ROW (row), state->fps_counter, &rgba);
+      rgba.alpha = 0.3;
+      sp_line_visualizer_row_set_fill (SP_LINE_VISUALIZER_ROW (row), state->fps_counter, &rgba);
       gtk_container_add (GTK_CONTAINER (self), row);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]