[anjal] Make citation work in Anjal. Plain text email are cited well.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Make citation work in Anjal. Plain text email are cited well.
- Date: Tue, 25 Aug 2009 06:11:29 +0000 (UTC)
commit b2a7a172f08e10147d4a5d970528701cb10ce70b
Author: Srinivasa Ragavan <sragavan novell com>
Date: Tue Aug 25 11:40:43 2009 +0530
Make citation work in Anjal. Plain text email are cited well.
src/em-format-mail.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/em-format-mail.c b/src/em-format-mail.c
index d19b2e7..4b5bb73 100644
--- a/src/em-format-mail.c
+++ b/src/em-format-mail.c
@@ -148,6 +148,8 @@ static void
efh_init(GObject *o)
{
EMFormatMail *efh = (EMFormatMail *)o;
+ GdkColor colour;
+ guint32 rgb;
efh->priv = g_malloc0(sizeof(*efh->priv));
@@ -181,6 +183,13 @@ efh_init(GObject *o)
| CAMEL_MIME_FILTER_TOHTML_MARK_CITATION;
efh->show_icon = TRUE;
efh->state = EM_FORMAT_MAIL_STATE_NONE;
+
+ gdk_color_parse("#737373", &colour);
+ rgb = ((colour.red & 0xff00) << 8) | (colour.green & 0xff00) | ((colour.blue & 0xff00) >> 8);
+
+ efh->mark_citations = TRUE;
+ efh->citation_colour = rgb;
+
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]