[Xfce4-commits] <postler:master> Add the is_bug_tracker API to the Message class

Christian Dywan noreply at xfce.org
Thu Jul 21 18:30:01 CEST 2011


Updating branch refs/heads/master
         to c7ed96e0552ed9917310cdf2a321428d06a12a36 (commit)
       from 7732a38658fef9521e535779d161f44e2974584a (commit)

commit c7ed96e0552ed9917310cdf2a321428d06a12a36
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Jul 21 18:24:42 2011 +0200

    Add the is_bug_tracker API to the Message class
    
    This was supposed to be part of the previous change.

 postler/postler-message.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/postler/postler-message.vala b/postler/postler-message.vala
index cd75e0f..7928352 100644
--- a/postler/postler-message.vala
+++ b/postler/postler-message.vala
@@ -108,6 +108,7 @@ namespace Postler {
         public string organization { public get; set; }
         public string application { public get; set; }
         public string project { public get; set; }
+        public bool is_bug_tracker { public get; set; default = false; }
         public string list { public get; set; }
         GLib.HashTable<string,string> fields = new GLib.HashTable<string,string> (str_hash, str_equal);
         public string get_field (string field) { return fields.lookup (field); }
@@ -382,6 +383,7 @@ namespace Postler {
                     /* Launchpad doesn't expose the reporter's address */
                     if (field == "x-launchpad-bug")
                         can_reply_personally = false;
+                    is_bug_tracker = true;
                 }
                 else if (field == "list-id") {
                     string field_charset = null;



More information about the Xfce4-commits mailing list