From c73bf5eaa749b85c3b06038a4898b006bdf7491e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 13 Dec 2007 09:47:15 +0000 Subject: ** Fix for bug #340267 2007-12-13 Milan Crha ** Fix for bug #340267 * gui/e-cal-component-preview.c: (write_html): * gui/e-cal-component-memo-preview.c: (write_html): Show description in preview as preformatted text, so tabulators are kept instead of treated as white spaces. svn path=/trunk/; revision=34693 --- calendar/ChangeLog | 9 +++++++++ calendar/gui/e-cal-component-memo-preview.c | 4 ++-- calendar/gui/e-cal-component-preview.c | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4d3848ede0..9ea9312276 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2007-12-13 Milan Crha + + ** Fix for bug #340267 + + * gui/e-cal-component-preview.c: (write_html): + * gui/e-cal-component-memo-preview.c: (write_html): + Show description in preview as preformatted text, so + tabulators are kept instead of treated as white spaces. + 2007-12-11 Sankar P ** Fix for bug #501969 diff --git a/calendar/gui/e-cal-component-memo-preview.c b/calendar/gui/e-cal-component-memo-preview.c index 90a96f0c9e..87bfa265d9 100644 --- a/calendar/gui/e-cal-component-memo-preview.c +++ b/calendar/gui/e-cal-component-memo-preview.c @@ -224,7 +224,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone gtk_html_stream_printf (stream, "%s", _("Description:")); - gtk_html_stream_printf (stream, ""); + gtk_html_stream_printf (stream, "
");
 
 		for (node = l; node != NULL; node = node->next) {
 			gint i, j, len;
@@ -250,7 +250,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone
 			g_string_free (string, TRUE);
 		}
 
-		gtk_html_stream_printf (stream, "");
+		gtk_html_stream_printf (stream, "
"); e_cal_component_free_text_list (l); } diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c index b46069917c..be3bfa1bdf 100644 --- a/calendar/gui/e-cal-component-preview.c +++ b/calendar/gui/e-cal-component-preview.c @@ -273,7 +273,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone gtk_html_stream_printf (stream, "%s", _("Description:")); - gtk_html_stream_printf (stream, ""); + gtk_html_stream_printf (stream, "
");
 
 		for (node = l; node != NULL; node = node->next) {
 			gint i, len;
@@ -296,7 +296,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone
 			g_string_free (string, TRUE);
 		}
 
-		gtk_html_stream_printf (stream, "");
+		gtk_html_stream_printf (stream, "
"); e_cal_component_free_text_list (l); } -- cgit v1.2.3