[gimp] libgimpwidgets: don't draw a focus line to indicate "selected"



commit 6c7e24c9b3b2b6c03deab489b72bbc939e59952c
Author: Michael Natterer <mitch gimp org>
Date:   Wed Feb 9 09:25:34 2011 +0100

    libgimpwidgets: don't draw a focus line to indicate "selected"
    
    I have no idea what I was thinking when adding this.

 libgimpwidgets/gimpcellrenderercolor.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/libgimpwidgets/gimpcellrenderercolor.c b/libgimpwidgets/gimpcellrenderercolor.c
index dc1f66a..20c33f6 100644
--- a/libgimpwidgets/gimpcellrenderercolor.c
+++ b/libgimpwidgets/gimpcellrenderercolor.c
@@ -306,13 +306,6 @@ gimp_cell_renderer_color_render (GtkCellRenderer      *cell,
       gdk_cairo_set_source_color (cr, &style->fg[state]);
       cairo_stroke_preserve (cr);
 
-      if (state == GTK_STATE_SELECTED &&
-          gimp_cairo_set_focus_line_pattern (cr, widget))
-        {
-          gdk_cairo_set_source_color (cr, &style->fg[GTK_STATE_NORMAL]);
-          cairo_stroke (cr);
-        }
-
       cairo_destroy (cr);
     }
 }



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