[Xfce4-commits] <postler:master> Restore subject parsing in message and omit Re:
Christian Dywan
noreply at xfce.org
Thu Jun 23 21:08:01 CEST 2011
Updating branch refs/heads/master
to 8d0ba4be65faaac775832aae6a89f2d6f02b20fe (commit)
from 48059b241111109411e3bcc2085974a310322df3 (commit)
commit 8d0ba4be65faaac775832aae6a89f2d6f02b20fe
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jun 23 21:06:11 2011 +0200
Restore subject parsing in message and omit Re:
postler/postler-message.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/postler/postler-message.vala b/postler/postler-message.vala
index 2b5e86f..24fa0ee 100644
--- a/postler/postler-message.vala
+++ b/postler/postler-message.vala
@@ -196,7 +196,11 @@ namespace Postler {
else
threads = string.joinv (",", parsed_ids);
} */
+ else if (field == "subject") {
subject = parse_encoded (parts[1], out charset);
+ if (subject.has_prefix ("Re: "))
+ subject = subject.substring (3);
+ }
else if (field == "from") {
string sender_charset = null;
if (sender == null)
More information about the Xfce4-commits
mailing list