aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS1
-rw-r--r--libsylph/filter.c3
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c134fa7e..39f6d3ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
2010-07-16
+ * libsylph/filter.c: filter_cond_new(): fixed a bug that the value of
+ <account-id> tag was not parsed correctly.
+
+2010-07-16
+
* manual/GFDL-1.2
manual/en/sylpheed.sgml
manual/en/*.html: updated to sylpheeddoc_manual_en_09032003.tar.gz.
diff --git a/NEWS b/NEWS
index 956d586d..2f804585 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ Changes of Sylpheed
* The new plug-in APIs for user-agent string and the summary view were
added.
* The source files of the English FAQ and manual were added.
+ * The hidden <account-id> filter condition works now.
* Fixed-positioned windows (such as main window, compose window, etc.)
are always displayed on screen now. This prevents windows displayed
outside of screen between multi and single monitor switching.
diff --git a/libsylph/filter.c b/libsylph/filter.c
index beff85bf..6db89b20 100644
--- a/libsylph/filter.c
+++ b/libsylph/filter.c
@@ -1399,7 +1399,8 @@ FilterCond *filter_cond_new(FilterCondType type,
cond->header_name = NULL;
cond->str_value = (value && *value) ? g_strdup(value) : NULL;
- if (type == FLT_COND_SIZE_GREATER || type == FLT_COND_AGE_GREATER)
+ if (type == FLT_COND_SIZE_GREATER || type == FLT_COND_AGE_GREATER ||
+ type == FLT_COND_ACCOUNT)
cond->int_value = atoi(value);
else
cond->int_value = 0;