[evolution] Bug #587468 - Show meeting icon for component with attendees only



commit f335fa0d10ffb85a23d8ea69929d04b4db3f3f64
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 3 23:24:04 2009 +0200

    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(-)
---
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 3e19851..c211a45 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 67f6d00..6ebbde4 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 37a4859..ed83c9d 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 b8f086c..ed939fe 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 aabcd7a..4d21eae 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++;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]