aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-08-04 05:24:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-11 04:37:18 +0800
commit14eb2a884dd98fec4864e9454ae8d3e771c5656c (patch)
tree174ffd2739e5339a938030401f99fe15ae335504
parent1295772b1ee9c3c106d1418884f6874d9ca06714 (diff)
downloadgsoc2013-evolution-14eb2a884dd98fec4864e9454ae8d3e771c5656c.tar.gz
gsoc2013-evolution-14eb2a884dd98fec4864e9454ae8d3e771c5656c.tar.zst
gsoc2013-evolution-14eb2a884dd98fec4864e9454ae8d3e771c5656c.zip
Bug #587468 - Show meeting icon for component with attendees only
-rw-r--r--calendar/gui/e-day-view-main-item.c2
-rw-r--r--calendar/gui/e-day-view-top-item.c2
-rw-r--r--calendar/gui/e-day-view.c4
-rw-r--r--calendar/gui/e-week-view-event-item.c2
-rw-r--r--calendar/gui/e-week-view.c2
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 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++;