Bug 676978 - Improved visibility icons for Layers dialog

make the strike out line a bit thinner and shorter. We shouldn't
change the line's color because using proper theme colors makes sure
the line is always perfectly visible.
This commit is contained in:
Michael Natterer 2012-11-09 11:37:01 +01:00
parent d4933b3052
commit e1e32a03a9
1 changed files with 5 additions and 5 deletions

View File

@ -385,13 +385,13 @@ gimp_cell_renderer_toggle_render (GtkCellRenderer *cell,
if (inconsistent)
{
gdk_cairo_set_source_color (cr, &style->fg[state]);
cairo_set_line_width (cr, 2.0);
cairo_set_line_width (cr, 1.5);
cairo_move_to (cr,
toggle_rect.x + toggle_rect.width,
toggle_rect.y);
toggle_rect.x + toggle_rect.width - 1,
toggle_rect.y + 1);
cairo_line_to (cr,
toggle_rect.x,
toggle_rect.y + toggle_rect.height);
toggle_rect.x + 1,
toggle_rect.y + toggle_rect.height - 1);
cairo_stroke (cr);
}