Comment 3 for bug 1852172

Revision history for this message
Hiroshi Miura (miurahr) wrote :

We can see a changed color of legend labels with modification of fixed color values.
It should be get from theme color instead of fixed value.

From ebe0b3a96deb7039c70843bece6b958bdf0b25f0 Mon Sep 17 00:00:00 2001
From: Hiroshi Miura <email address hidden>
Date: Sun, 25 Oct 2020 11:45:03 +0900
Subject: [PATCH] Change x/y label color

Signed-off-by: Hiroshi Miura <email address hidden>
---
 src/egg-graph-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egg-graph-widget.c b/src/egg-graph-widget.c
index 7c2fc9e..75783b9 100644
--- a/src/egg-graph-widget.c
+++ b/src/egg-graph-widget.c
@@ -491,7 +491,7 @@ egg_graph_widget_draw_labels (EggGraphWidget *graph, cairo_t *cr)
  cairo_save (cr);

  /* do x text */
- cairo_set_source_rgb (cr, 0.2f, 0.2f, 0.2f);
+ cairo_set_source_rgb (cr, 0.5f, 0.5f, 0.5f);
  for (i = 0; i < 11; i++) {
   g_autofree gchar *text = NULL;
   b = priv->box_x + ((gdouble) i * divwidth);
--
2.25.1