[evolution/kill-bonobo] Bug #587468 - Show meeting icon for component with attendees only
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution/kill-bonobo] Bug #587468 - Show meeting icon for component with attendees only
- Date: Wed, 12 Aug 2009 13:57:10 +0000 (UTC)
commit 14eb2a884dd98fec4864e9454ae8d3e771c5656c
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 298831d..f0e988a 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 51af20b..a1f083e 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 bb8d1f0..75f7f7a 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 0f79faa..2cb699f 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 69cf5e6..7efd90a 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++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]