evolution r36103 - in trunk/calendar: . gui
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36103 - in trunk/calendar: . gui
- Date: Wed, 27 Aug 2008 08:42:42 +0000 (UTC)
Author: mcrha
Date: Wed Aug 27 08:42:42 2008
New Revision: 36103
URL: http://svn.gnome.org/viewvc/evolution?rev=36103&view=rev
Log:
2008-08-27 Milan Crha <mcrha redhat com>
** Fix for bug #523327
* gui/e-cal-component-preview.c: (write_html):
* gui/e-cal-component-memo-preview.c: (write_html):
Show description in monospace font and wrap lines too.
Modified:
trunk/calendar/ChangeLog
trunk/calendar/gui/e-cal-component-memo-preview.c
trunk/calendar/gui/e-cal-component-preview.c
Modified: trunk/calendar/gui/e-cal-component-memo-preview.c
==============================================================================
--- trunk/calendar/gui/e-cal-component-memo-preview.c (original)
+++ trunk/calendar/gui/e-cal-component-memo-preview.c Wed Aug 27 08:42:42 2008
@@ -199,13 +199,13 @@
gtk_html_stream_printf (stream, "<TR><TD VALIGN=\"TOP\" ALIGN=\"RIGHT\"><B>%s</B></TD>", _("Description:"));
- gtk_html_stream_printf (stream, "<TD><PRE>");
+ gtk_html_stream_printf (stream, "<TD><TT>");
for (node = l; node != NULL; node = node->next) {
char *html;
text = * (ECalComponentText *) node->data;
- html = camel_text_to_html (text.value ? text.value : "", CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS | CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
+ html = camel_text_to_html (text.value ? text.value : "", CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES | CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS | CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
if (html)
gtk_html_stream_printf (stream, "%s", html);
@@ -213,7 +213,7 @@
g_free (html);
}
- gtk_html_stream_printf (stream, "</PRE></TD></TR>");
+ gtk_html_stream_printf (stream, "</TT></TD></TR>");
e_cal_component_free_text_list (l);
}
Modified: trunk/calendar/gui/e-cal-component-preview.c
==============================================================================
--- trunk/calendar/gui/e-cal-component-preview.c (original)
+++ trunk/calendar/gui/e-cal-component-preview.c Wed Aug 27 08:42:42 2008
@@ -290,13 +290,13 @@
gtk_html_stream_printf (stream, "<TR><TD VALIGN=\"TOP\" ALIGN=\"RIGHT\"><B>%s</B></TD>", _("Description:"));
- gtk_html_stream_printf (stream, "<TD><PRE>");
+ gtk_html_stream_printf (stream, "<TD><TT>");
for (node = l; node != NULL; node = node->next) {
char *html;
text = * (ECalComponentText *) node->data;
- html = camel_text_to_html (text.value ? text.value : "", CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS | CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
+ html = camel_text_to_html (text.value ? text.value : "", CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES | CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS | CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES, 0);
if (html)
gtk_html_stream_printf (stream, "%s", html);
@@ -304,7 +304,7 @@
g_free (html);
}
- gtk_html_stream_printf (stream, "</PRE></TD></TR>");
+ gtk_html_stream_printf (stream, "</TT></TD></TR>");
e_cal_component_free_text_list (l);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]