From f335fa0d10ffb85a23d8ea69929d04b4db3f3f64 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 3e198518ea..c211a456f8 100644 --- a/calendar/gui/e-day-view-main-item.c +++ b/calendar/gui/e-day-view-main-item.c @@ -1071,7 +1071,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 67f6d009e7..6ebbde46a5 100644 --- a/calendar/gui/e-day-view-top-item.c +++ b/calendar/gui/e-day-view-top-item.c @@ -666,7 +666,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 37a4859d88..ed83c9d855 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -4464,7 +4464,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++; @@ -4635,7 +4635,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 b8f086c210..ed939feb10 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -762,7 +762,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 aabcd7adde..4d21eae9d0 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2819,7 +2819,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