From 14eb2a884dd98fec4864e9454ae8d3e771c5656c Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 3 Aug 2009 23:24:04 +0200 Subject: Bug #587468 - Show meeting icon for component with attendees only --- calendar/gui/e-day-view-main-item.c | 2 +- calendar/gui/e-day-view-top-item.c | 2 +- calendar/gui/e-day-view.c | 4 ++-- calendar/gui/e-week-view-event-item.c | 2 +- calendar/gui/e-week-view.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c index 298831d60b..f0e988ac61 100644 --- a/calendar/gui/e-day-view-main-item.c +++ b/calendar/gui/e-day-view-main-item.c @@ -1075,7 +1075,7 @@ e_day_view_main_item_draw_day_event (EDayViewMainItem *dvmitem, num_icons++; } - if (e_cal_component_has_organizer (comp)) { + if (e_cal_component_has_attendees (comp)) { draw_meeting_icon = TRUE; num_icons++; } diff --git a/calendar/gui/e-day-view-top-item.c b/calendar/gui/e-day-view-top-item.c index 51af20bbea..a1f083e1b8 100644 --- a/calendar/gui/e-day-view-top-item.c +++ b/calendar/gui/e-day-view-top-item.c @@ -669,7 +669,7 @@ e_day_view_top_item_draw_long_event (EDayViewTopItem *dvtitem, icon_x -= icon_x_inc; } - if (icon_x <= max_icon_x && e_cal_component_has_organizer (comp)) { + if (icon_x <= max_icon_x && e_cal_component_has_attendees (comp)) { cairo_save (cr); gdk_cairo_set_source_pixbuf (cr, day_view->meeting_icon, icon_x, icon_y); cairo_paint (cr); diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index bb8d1f0b57..75f7f7a12a 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -4856,7 +4856,7 @@ e_day_view_reshape_long_event (EDayView *day_view, if (event->different_timezone) num_icons++; - if (e_cal_component_has_organizer (comp)) + if (e_cal_component_has_attendees (comp)) num_icons++; if (e_cal_component_has_attachments (comp)) num_icons++; @@ -5027,7 +5027,7 @@ e_day_view_reshape_day_event (EDayView *day_view, num_icons++; if (event->different_timezone) num_icons++; - if (e_cal_component_has_organizer (comp)) + if (e_cal_component_has_attendees (comp)) num_icons++; num_icons += cal_comp_util_get_n_icons (comp, NULL); diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c index 0f79faa9e7..2cb699f2d0 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -766,7 +766,7 @@ e_week_view_event_item_draw_icons (EWeekViewEventItem *wveitem, num_icons++; } - if (e_cal_component_has_organizer (comp)) { + if (e_cal_component_has_attendees (comp)) { draw_meeting_icon = TRUE; num_icons++; } diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 69cf5e6ae2..7efd90a8c7 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3030,7 +3030,7 @@ e_week_view_reshape_event_span (EWeekView *week_view, num_icons++; if (e_cal_component_has_attachments (comp)) num_icons++; - if (e_cal_component_has_organizer (comp)) + if (e_cal_component_has_attendees (comp)) num_icons++; if (event->different_timezone) num_icons++; -- cgit