diff options
Diffstat (limited to 'widgets/e-table/e-cell-text.c')
-rw-r--r-- | widgets/e-table/e-cell-text.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/e-table/e-cell-text.c b/widgets/e-table/e-cell-text.c index dafc8f4675..209a505738 100644 --- a/widgets/e-table/e-cell-text.c +++ b/widgets/e-table/e-cell-text.c @@ -464,7 +464,10 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable, background = &canvas->style->bg [GTK_STATE_SELECTED]; foreground = &canvas->style->text [GTK_STATE_SELECTED]; } else { - background = &canvas->style->base [GTK_STATE_NORMAL]; + if (row % 2) + background = &canvas->style->base [GTK_STATE_NORMAL]; + else + background = &canvas->style->base [GTK_STATE_SELECTED]; foreground = &canvas->style->text [GTK_STATE_NORMAL]; } |