[Xfce4-commits] <postler:master> Consider Precedence: Bulk to indicate notifications

Christian Dywan noreply at xfce.org
Thu Aug 4 03:20:03 CEST 2011


Updating branch refs/heads/master
         to 847b0b5dc888281a59535175aca458a96bf5da8b (commit)
       from 7754370138d576ddea55975c2088fb1b97b3be3c (commit)

commit 847b0b5dc888281a59535175aca458a96bf5da8b
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Aug 3 22:12:46 2011 +0200

    Consider Precedence: Bulk to indicate notifications

 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 7928352..8827094 100644
--- a/postler/postler-message.vala
+++ b/postler/postler-message.vala
@@ -350,6 +350,10 @@ namespace Postler {
                         if (sender.str (spec.suffix) != null)
                             project = spec.name;
                 }
+                else if (field == "precedence") {
+                    if (project == null && ascii_strdown (parts[1].strip ()) == "bulk")
+                        project = "Bulk";
+                }
                 else if (field == "x-bugzilla-who") {
                     string sender_charset = null;
                     if (get_field ("from") == sender)


More information about the Xfce4-commits mailing list