evolution r36122 - in branches/mail-dbus-remoting/calendar: . gui
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36122 - in branches/mail-dbus-remoting/calendar: . gui
- Date: Wed, 27 Aug 2008 15:13:34 +0000 (UTC)
Author: sragavan
Date: Wed Aug 27 15:13:34 2008
New Revision: 36122
URL: http://svn.gnome.org/viewvc/evolution?rev=36122&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:
branches/mail-dbus-remoting/calendar/ChangeLog
branches/mail-dbus-remoting/calendar/gui/e-cal-component-memo-preview.c
branches/mail-dbus-remoting/calendar/gui/e-cal-component-preview.c
Modified: branches/mail-dbus-remoting/calendar/gui/e-cal-component-memo-preview.c
==============================================================================
--- branches/mail-dbus-remoting/calendar/gui/e-cal-component-memo-preview.c (original)
+++ branches/mail-dbus-remoting/calendar/gui/e-cal-component-memo-preview.c Wed Aug 27 15:13:34 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: branches/mail-dbus-remoting/calendar/gui/e-cal-component-preview.c
==============================================================================
--- branches/mail-dbus-remoting/calendar/gui/e-cal-component-preview.c (original)
+++ branches/mail-dbus-remoting/calendar/gui/e-cal-component-preview.c Wed Aug 27 15:13:34 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]