[gnome-builder/wip/gtk4-port] plugins/omni-gutter: more style improvements



commit b61eadd1dd435ed4ae3e6edc0c3b27a8805b5bb5
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 27 14:27:34 2022 -0700

    plugins/omni-gutter: more style improvements
    
    Better fallbacks

 src/plugins/omni-gutter/gbp-omni-gutter-renderer.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c 
b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
index bf048adcf..537bc791a 100644
--- a/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
+++ b/src/plugins/omni-gutter/gbp-omni-gutter-renderer.c
@@ -499,10 +499,13 @@ reload_style_colors (GbpOmniGutterRenderer *self,
 
   if (!get_style_rgba (scheme, "debugger::breakpoint", BACKGROUND, &self->bkpt.bg) &&
       !get_style_rgba (scheme, "selection", BACKGROUND, &self->bkpt.bg))
-    self->bkpt.bg = self->current.bg;
+    {
+      gdk_rgba_parse (&self->bkpt.bg, "#1c71d8");
+      gdk_rgba_parse (&self->bkpt.fg, "#ffffff");
+    }
 
   if (!style_get_is_bold (scheme, "debugger::breakpoint", &self->bkpt.bold))
-    self->bkpt.bold = FALSE;
+    self->bkpt.bold = TRUE;
 
   /* Slight different color for countpoint, fallback to mix(selection,diff:add) */
   if (!get_style_rgba (scheme, "debugger::countpoint", FOREGROUND, &self->ctpt.fg))


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