aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-12-17 03:41:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-12-17 03:41:37 +0800
commit594812e79f776331a50b7e68cccfb429f83ba81b (patch)
tree517c1833b168d3e8d6e9c7ced4e3190c2100d8b8
parent9d70bad4944b3f00c7b6e0a214e8c5ed9566e8ac (diff)
downloadgsoc2013-evolution-594812e79f776331a50b7e68cccfb429f83ba81b.tar.gz
gsoc2013-evolution-594812e79f776331a50b7e68cccfb429f83ba81b.tar.zst
gsoc2013-evolution-594812e79f776331a50b7e68cccfb429f83ba81b.zip
Use camel_text_to_html() instead.
2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Use camel_text_to_html() instead. svn path=/trunk/; revision=19129
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-itip-control.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a3fb87d38e..b414696472 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
+ * gui/e-itip-control.c (write_html): Use camel_text_to_html()
+ instead.
+
+2002-12-16 Jeffrey Stedfast <fejj@ximian.com>
+
* gui/e-itip-control.c (write_html): Correctly convert text.value
into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html()
if text.value is NULL).
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 117cf4468e..44cfa99fd0 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -46,10 +46,10 @@
#include <cal-util/timeutil.h>
#include <cal-client/cal-client.h>
#include <e-util/e-time-utils.h>
-#include <e-util/e-html-utils.h>
#include <e-util/e-dialog-widgets.h>
#include <evolution-shell-client.h>
#include <evolution-folder-selector-button.h>
+#include <camel/camel-mime-filter-tohtml.h>
#include "calendar-config.h"
#include "itip-utils.h"
#include "e-itip-control.h"
@@ -799,7 +799,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
/* Summary */
cal_component_get_summary (priv->comp, &text);
- html = text.value ? e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL) : _("<i>None</i>");
+ html = text.value ? camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0) : _("<i>None</i>");
gtk_html_stream_printf (html_stream, "<b>%s</b><br>%s<br><br>",
_("Summary:"), html);
g_free (html);
@@ -807,7 +807,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
/* Location */
cal_component_get_location (priv->comp, &string);
if (string != NULL) {
- html = e_text_to_html (string, E_TEXT_TO_HTML_CONVERT_NL);
+ html = camel_text_to_html (string, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0);
gtk_html_stream_printf (html_stream, "<b>%s</b><br>%s<br><br>",
_("Location:"), html);
g_free (html);
@@ -853,7 +853,7 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
text = *((CalComponentText *)l->data);
if (l && text.value) {
- html = e_text_to_html (text.value, E_TEXT_TO_HTML_CONVERT_NL);
+ html = camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0);
gtk_html_stream_printf (html_stream, "<b>%s</b><br>%s",
_("Description:"), html);
g_free (html);