aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-07-25 04:26:27 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-07-25 04:26:27 +0800
commitea1923cacfadbb726c9e776000de3a7c7c316bb6 (patch)
tree7b2affdb1166a30867a057cdaeee1421e1200d06
parente78a5a26355e648b09dc3fba8366e15f4132439f (diff)
downloadgsoc2013-evolution-ea1923cacfadbb726c9e776000de3a7c7c316bb6.tar.gz
gsoc2013-evolution-ea1923cacfadbb726c9e776000de3a7c7c316bb6.tar.zst
gsoc2013-evolution-ea1923cacfadbb726c9e776000de3a7c7c316bb6.zip
display the location in the itip information
2002-07-24 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (write_html): display the location in the itip information svn path=/trunk/; revision=17578
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-itip-control.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 730b5f8ab9..20c663eef4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2002-07-24 JP Rosevear <jpr@ximian.com>
+ * gui/e-itip-control.c (write_html): display the location in the
+ itip information
+
+2002-07-24 JP Rosevear <jpr@ximian.com>
+
* gui/calendar-model.c (set_percent): set status to in progress if
the percent is between 0 and 100
(set_status): if the value is set to in process, change the
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, "<b>%s</b> %s<br><br>",
U_("Summary:"), text.value ? text.value : U_("<i>None</i>"));
+ /* Location */
+ cal_component_get_location (priv->comp, &string);
+ if (string != NULL)
+ gtk_html_stream_printf (html_stream, "<b>%s</b> %s<br><br>",
+ U_("Location:"), string);
+
/* Status */
if (priv->method == ICAL_METHOD_REPLY) {
GSList *alist;