diff options
author | Kristian Rietveld <kris@gtk.org> | 2006-05-28 12:56:26 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2006-05-28 12:56:26 +0000 |
commit | d9c808b16334658729c238c556d41a1f508b867c (patch) | |
tree | 6629b8f4a058029e607a51c7a12ba7fdd70022f0 /gtk/gtkstyle.c | |
parent | a22a9960af426c09692ee4837172d67e3c517e5e (diff) | |
download | gtk+-d9c808b16334658729c238c556d41a1f508b867c.tar.gz |
handle cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
2006-05-28 Kristian Rietveld <kris@gtk.org>
* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
state.
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index b9cd1aedc6..d7199df655 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -3417,7 +3417,8 @@ gtk_default_draw_flat_box (GtkStyle *style, gc1 = style->bg_gc[GTK_STATE_SELECTED]; else if (!strcmp ("cell_even", detail) || !strcmp ("cell_odd", detail) || - !strcmp ("cell_even_ruled", detail)) + !strcmp ("cell_even_ruled", detail) || + !strcmp ("cell_even_ruled_sorted", detail)) { /* This has to be really broken; alex made me do it. -jrb */ if (GTK_WIDGET_HAS_FOCUS (widget)) @@ -3425,7 +3426,8 @@ gtk_default_draw_flat_box (GtkStyle *style, else gc1 = style->base_gc[GTK_STATE_ACTIVE]; } - else if (!strcmp ("cell_odd_ruled", detail)) + else if (!strcmp ("cell_odd_ruled", detail) || + !strcmp ("cell_odd_ruled_sorted", detail)) { if (GTK_WIDGET_HAS_FOCUS (widget)) freeme = get_darkened_gc (window, &style->base[state_type], 1); |