diff options
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index ab38f92c1a..eadc3c9bd3 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2235,15 +2235,12 @@ e_week_view_reshape_event_span (EWeekView *week_view, } num_icons = 0; -#if 0 if (show_icons) { - if (ico->dalarm.enabled || ico->malarm.enabled - || ico->palarm.enabled || ico->aalarm.enabled) + if (cal_component_has_alarms (comp)) num_icons++; - if (ico->recur) + if (cal_component_has_recurrences (comp)) num_icons++; } -#endif /* Create the background canvas item if necessary. */ if (!span->background_item) { |