From: Christoph Hohmann Date: Sun, 28 Oct 2001 09:40:13 +0000 (+0000) Subject: fixed that filtering did not work if there were no filter rules (closes bug #472003... X-Git-Tag: Release_0_6_4claws12 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=84bdee87ec253b67d03a76af0f5f47324b7186fe fixed that filtering did not work if there were no filter rules (closes bug #472003 and better implementation of patch #474644) --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 2f4733bdb..6b7fe359b 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,11 @@ +2001-10-28 [christoph] 0.6.4claws12 + + * src/summaryview.c + fixed that filtering did not work if there + were no filter rules + (closes bug #472003 and better implementation + of patch #474644) + 2001-10-27 [christoph] 0.6.4claws11 * src/compose.c diff --git a/configure.in b/configure.in index 95b9ed78a..a6b0cbcaf 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=6 MICRO_VERSION=4 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws11 +EXTRA_VERSION=claws12 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl diff --git a/src/summaryview.c b/src/summaryview.c index a63891cb3..59c2b5250 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -3436,7 +3436,10 @@ static void summary_unthread_for_exec_func(GtkCTree *ctree, GtkCTreeNode *node, void summary_filter(SummaryView *summaryview) { - if (!prefs_common.fltlist) return; + if (!prefs_common.fltlist && !prefs_filtering) { + alertpanel_error(_("No filter rules defined.")); + return; + } summary_lock(summaryview);