From a15b31ff5b4c2a9737e290d6bde3e7620757b729 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 16 Jun 2004 16:11:09 +0000 Subject: use e-util's HTML conversion function, instead of camel's. (write_html): 2004-06-16 Rodrigo Moya * gui/e-itip-control.c: use e-util's HTML conversion function, instead of camel's. (write_html): use e_text_to_html_full(). svn path=/trunk/; revision=26368 --- calendar/ChangeLog | 6 ++++++ calendar/gui/e-itip-control.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index ec8a214649..ebd5f1962a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-06-16 Rodrigo Moya + + * gui/e-itip-control.c: use e-util's HTML conversion function, + instead of camel's. + (write_html): use e_text_to_html_full(). + 2004-06-15 JP Rosevear Fixes #56197 diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 6bbe1dfb4d..6d4f081fd3 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include #include "dialogs/delete-error.h" #include "calendar-config.h" @@ -927,7 +927,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, e_cal_component_get_summary (priv->comp, &text); str = g_strdup_printf ("%s:", _("None")); - html = text.value ? camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0) : str; + html = text.value ? e_text_to_html_full (text.value, E_TEXT_TO_HTML_CONVERT_NL, 0) : str; gtk_html_stream_printf (html_stream, "%s
%s

", _("Summary:"), html); g_free (str); @@ -937,7 +937,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, /* Location */ e_cal_component_get_location (priv->comp, &string); if (string != NULL) { - html = camel_text_to_html (string, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0); + html = e_text_to_html_full (string, E_TEXT_TO_HTML_CONVERT_NL, 0); gtk_html_stream_printf (html_stream, "%s
%s

", _("Location:"), html); g_free (html); @@ -983,7 +983,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title, text = *((ECalComponentText *)l->data); if (l && text.value) { - html = camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0); + html = e_text_to_html_full (text.value, E_TEXT_TO_HTML_CONVERT_NL, 0); gtk_html_stream_printf (html_stream, "%s
%s", _("Description:"), html); g_free (html); -- cgit