[gimp] Bug 676978 - Improved visibility icons for Layers dialog
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 676978 - Improved visibility icons for Layers dialog
- Date: Fri, 9 Nov 2012 10:39:42 +0000 (UTC)
commit e1e32a03a9931b90dec010467d256377bd51c0a8
Author: Michael Natterer <mitch gimp org>
Date: Fri Nov 9 11:37:01 2012 +0100
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.
libgimpwidgets/gimpcellrenderertoggle.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgimpwidgets/gimpcellrenderertoggle.c b/libgimpwidgets/gimpcellrenderertoggle.c
index c18e922..848b4a6 100644
--- a/libgimpwidgets/gimpcellrenderertoggle.c
+++ b/libgimpwidgets/gimpcellrenderertoggle.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]