diff options
-rw-r--r-- | widgets/misc/e-calendar-item.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index 9907db7514..eef63a02f7 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -2192,6 +2192,13 @@ e_calendar_item_get_day_style (ECalendarItem *calitem, } else { *fg_color = &style->text[GTK_STATE_ACTIVE]; *bg_color = &style->base[GTK_STATE_ACTIVE]; + + if ((*bg_color)->red == style->base[GTK_STATE_NORMAL].red && + (*bg_color)->green == style->base[GTK_STATE_NORMAL].green && + (*bg_color)->blue == style->base[GTK_STATE_NORMAL].blue) { + *fg_color = &style->text[GTK_STATE_SELECTED]; + *bg_color = &style->base[GTK_STATE_SELECTED]; + } } } } |