From ea1923cacfadbb726c9e776000de3a7c7c316bb6 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 24 Jul 2002 20:26:27 +0000 Subject: display the location in the itip information 2002-07-24 JP Rosevear * gui/e-itip-control.c (write_html): display the location in the itip information svn path=/trunk/; revision=17578 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-itip-control.c | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 730b5f8ab9..20c663eef4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2002-07-24 JP Rosevear + + * gui/e-itip-control.c (write_html): display the location in the + itip information + 2002-07-24 JP Rosevear * gui/calendar-model.c (set_percent): set status to in progress if diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 75be4d098d..4079204400 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -809,6 +809,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, CalComponentOrganizer organizer; CalComponentAttendee *attendee; GSList *attendees, *l = NULL; + const char *string; gchar *html; const gchar *const_html; @@ -890,6 +891,12 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, gtk_html_stream_printf (html_stream, "%s %s

", U_("Summary:"), text.value ? text.value : U_("None")); + /* Location */ + cal_component_get_location (priv->comp, &string); + if (string != NULL) + gtk_html_stream_printf (html_stream, "%s %s

", + U_("Location:"), string); + /* Status */ if (priv->method == ICAL_METHOD_REPLY) { GSList *alist; -- cgit v1.2.3