aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2004-06-17 00:11:09 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-06-17 00:11:09 +0800
commita15b31ff5b4c2a9737e290d6bde3e7620757b729 (patch)
treef77c6048e490b78bb1042c1d157976b43d865854
parent8988480c3ccdef167e6cbba1588963d9f0b95ace (diff)
downloadgsoc2013-evolution-a15b31ff5b4c2a9737e290d6bde3e7620757b729.tar.gz
gsoc2013-evolution-a15b31ff5b4c2a9737e290d6bde3e7620757b729.tar.zst
gsoc2013-evolution-a15b31ff5b4c2a9737e290d6bde3e7620757b729.zip
use e-util's HTML conversion function, instead of camel's. (write_html):
2004-06-16 Rodrigo Moya <rodrigo@novell.com> * 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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-itip-control.c8
2 files changed, 10 insertions, 4 deletions
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 <rodrigo@novell.com>
+
+ * 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 <jpr@novell.com>
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 <libecal/e-cal.h>
#include <e-util/e-time-utils.h>
#include <e-util/e-dialog-widgets.h>
-#include <camel/camel-mime-filter-tohtml.h>
+#include <e-util/e-html-utils.h>
#include <widgets/misc/e-source-option-menu.h>
#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 ("<i>%s:</i>", _("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, "<b>%s</b><br>%s<br><br>",
_("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, "<b>%s</b><br>%s<br><br>",
_("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, "<b>%s</b><br>%s",
_("Description:"), html);
g_free (html);