aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-04-30 17:59:18 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-04-30 17:59:18 +0800
commit929ac5c61d7b300155ad9e73cfd3159934764314 (patch)
tree1e8cbedcf157738c1345d88fad6d05deb4223683
parent05e8333292dc51f0b6c949d3aeb3496c08d4e613 (diff)
downloadgsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.gz
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.bz2
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.lz
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.xz
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.zst
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.zip
** Fix for bug #530245
2008-04-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #530245 * searchtypes.xml: Let searches work with labels again. svn path=/trunk/; revision=35456
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/searchtypes.xml4
2 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9c26cece04..220ad054de 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,11 @@
2008-04-30 Milan Crha <mcrha@redhat.com>
+ ** Fix for bug #530245
+
+ * searchtypes.xml: Let searches work with labels again.
+
+2008-04-30 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #467892
* em-folder-view.c: (em_folder_view_open_selected):
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index c39791843e..1f7dcfe44a 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -260,13 +260,13 @@
<option value="is">
<title>is</title>
<code>
- (match-all (= (user-tag "label") ${versus}))
+ (match-all (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus})))
</code>
</option>
<option value="is-not">
<title>is not</title>
<code>
- (match-all (not (= (user-tag "label") ${versus})))
+ (match-all (not (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus}))))
</code>
</option>
</input>