Commit 8b3c4214 authored by Christian Hergert's avatar Christian Hergert

omnigutter: ignore highlight for non-debuggable files

If the file is not debuggable, then we do not need to change the highlight
color for the prelight background.
parent 3137a9a5
......@@ -1086,7 +1086,7 @@ ide_omni_gutter_renderer_draw (GtkSourceGutterRenderer *renderer,
cairo_move_to (cr, cell_area->x, cell_area->y);
if (has_breakpoint || active)
if (has_breakpoint || (self->breakpoints != NULL && active))
{
gdk_cairo_set_source_rgba (cr, &self->bkpt.fg);
bold = self->bkpt.bold;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment