aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-07-21 05:49:45 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-07-21 05:49:45 +0000
commite17167c534615e4372dea7bdb0a9b6964f8ca3e9 (patch)
tree9e4079a27e52f87ecb4994e2026f262c9e297ad3
parent86f5c5979fb39ec4fc12edfcb21566dab36823f5 (diff)
fixed a bug that manual junk filtering didn't work when no filter rule exist.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1093 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/summaryview.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c3f6b529..98c5fb9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-21
+
+ * src/summaryview.c: summary_filter_real(): fixed a bug that manual
+ junk filtering didn't work when no filter rule exist.
+
2006-06-27
* po/tr.po: fixed a typo which caused crash.
diff --git a/src/summaryview.c b/src/summaryview.c
index 44dfd51b..0cdf82c1 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4390,7 +4390,6 @@ static void summary_filter_real(SummaryView *summaryview,
{
GList *rows;
- if (!prefs_common.fltlist) return;
if (!summaryview->folder_item) return;
summary_lock(summaryview);
@@ -4445,7 +4444,9 @@ static void summary_filter_real(SummaryView *summaryview,
void summary_filter(SummaryView *summaryview, gboolean selected_only)
{
- summary_filter_real(summaryview, summary_filter_func, selected_only);
+ if (prefs_common.fltlist)
+ summary_filter_real(summaryview, summary_filter_func,
+ selected_only);
}
void summary_filter_junk(SummaryView *summaryview, gboolean selected_only)