From 70ee8d0f5850b3ba744d152f6d0666f017737475 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 21 Aug 2001 20:25:28 +0000 Subject: strip the mailto bit for the email address if we display it 2001-08-21 JP Rosevear * gui/e-itip-control.c (write_html): strip the mailto bit for the email address if we display it svn path=/trunk/; revision=12355 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-itip-control.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 5860b209c5..ebbc696f88 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-08-21 JP Rosevear + + * gui/e-itip-control.c (write_html): strip the mailto bit for the + email address if we display it + 2001-08-21 Damon Chaplin * pcs/query.c (func_is_completed): added new e-sexp operator. We diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 734a10494e..8c153fc116 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -546,7 +546,7 @@ write_html (EItipControl *itip, gchar *itip_desc, gchar *itip_title, gchar *opti cal_component_get_organizer (priv->comp, &organizer); if (organizer.value != NULL) { html = g_strdup_printf (itip_desc, - organizer.cn ? organizer.cn : organizer.value); + organizer.cn ? organizer.cn : itip_strip_mailto (organizer.value)); gtk_html_write (GTK_HTML (priv->html), html_stream, html, strlen(html)); g_free (html); } -- cgit