diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-09 04:27:28 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2007-07-09 04:27:28 +0800 |
commit | a11e7afc54918cc11c8dc476f52d8380351808bc (patch) | |
tree | 0127fe80ad6d8c51feaea0c40094d0fd7d6ced47 /calendar/gui/e-day-view.c | |
parent | e18a34da15866a9a2b201b3077991db69a2dc8d2 (diff) | |
download | gsoc2013-evolution-a11e7afc54918cc11c8dc476f52d8380351808bc.tar.gz gsoc2013-evolution-a11e7afc54918cc11c8dc476f52d8380351808bc.tar.zst gsoc2013-evolution-a11e7afc54918cc11c8dc476f52d8380351808bc.zip |
Fixes #300584
svn path=/trunk/; revision=33772
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 0768d02106..b3c14d56d8 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2508,6 +2508,7 @@ e_day_view_update_long_event_label (EDayView *day_view, { EDayViewEvent *event; const gchar *summary; + gboolean free_text = FALSE; event = &g_array_index (day_view->long_events, EDayViewEvent, event_num); @@ -2516,11 +2517,15 @@ e_day_view_update_long_event_label (EDayView *day_view, if (!event->canvas_item) return; - summary = icalcomponent_get_summary (event->comp_data->icalcomp); + summary = e_calendar_view_get_icalcomponent_summary (event->comp_data->client, event->comp_data->icalcomp, &free_text); + gnome_canvas_item_set (event->canvas_item, "text", summary ? summary : "", NULL); - + + if (free_text) + g_free ((gchar*)summary); + /* if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) && e_cal_util_component_has_attendee (event->comp_data->icalcomp)) set_text_as_bold (event); */ |