[Xfce4-commits] <postler:master> Fill in both filters for saved search

Christian Dywan noreply at xfce.org
Tue Feb 22 00:40:01 CET 2011


Updating branch refs/heads/master
         to df85aa09768b0cef5b5949c49d043c13e2b59c4d (commit)
       from 4decee8f8b78c5236650b61a46bd710c97b06e7c (commit)

commit df85aa09768b0cef5b5949c49d043c13e2b59c4d
Author: Sergio Spinatelli <spinatelli.sergio at gmail.com>
Date:   Mon Feb 21 23:56:24 2011 +0100

    Fill in both filters for saved search
    
    Fixes: https://bugs.launchpad.net/postler/+bug/672687

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

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index d5e002b..b9da8ea 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -693,6 +693,8 @@ public class Postler.Messages : Gtk.TreeView {
                     string[] parts = query.split ("/", 2);
                     return_val_if_fail (parts[0] != null && parts[1] != null, false);
                     headers += parts[0];
+                    if (filters[0] == null)
+                        filters = { parts[1].down () };
                     filters += parts[1].down ();
                 }
             }



More information about the Xfce4-commits mailing list