diff options
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 3c792e6330..b0a2683ce2 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2122,7 +2122,13 @@ e_day_view_update_event_label (EDayView *day_view, if (!editing_event) { if (!short_event) { - text = g_strdup_printf (" \n%s", text); + const gchar *location = icalcomponent_get_location (event->comp_data->icalcomp); + + if (location && *location) + text = g_strdup_printf (" \n%s%c(%s)", text, day_view->days_shown == 1 ? ' ' : '\n', location); + else + text = g_strdup_printf (" \n%s", text); + free_text = TRUE; } } |