aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/quick_search.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca38b002..f63edadd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-03
+
+ * src/quick_search.c: suppress filter debug output.
+
2010-06-02
* libsylph/filter.c: added debug log for filter.
diff --git a/src/quick_search.c b/src/quick_search.c
index 81e8450e..dd8a20e6 100644
--- a/src/quick_search.c
+++ b/src/quick_search.c
@@ -220,6 +220,7 @@ GSList *quick_search_filter(QuickSearch *qsearch, QSearchCondType type,
GSList *cur;
gint count = 0, total = 0;
gchar status_text[1024];
+ gboolean dmode;
if (!summaryview->all_mlist)
return NULL;
@@ -290,6 +291,8 @@ GSList *quick_search_filter(QuickSearch *qsearch, QSearchCondType type,
}
memset(&fltinfo, 0, sizeof(FilterInfo));
+ dmode = get_debug_mode();
+ set_debug_mode(FALSE);
for (cur = summaryview->all_mlist; cur != NULL; cur = cur->next) {
MsgInfo *msginfo = (MsgInfo *)cur->data;
@@ -327,6 +330,8 @@ GSList *quick_search_filter(QuickSearch *qsearch, QSearchCondType type,
}
flt_mlist = g_slist_reverse(flt_mlist);
+ set_debug_mode(dmode);
+
if (status_rule || rule) {
if (count > 0)
g_snprintf(status_text, sizeof(status_text),