fixed that filtering did not work if there were no filter rules (closes bug #472003... Release_0_6_4claws12
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 28 Oct 2001 09:40:13 +0000 (09:40 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 28 Oct 2001 09:40:13 +0000 (09:40 +0000)
ChangeLog.claws
configure.in
src/summaryview.c

index 2f4733b..6b7fe35 100644 (file)
@@ -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
 2001-10-27 [christoph] 0.6.4claws11
 
        * src/compose.c
index 95b9ed7..a6b0cbc 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index a63891c..59c2b52 100644 (file)
@@ -3436,7 +3436,10 @@ static void summary_unthread_for_exec_func(GtkCTree *ctree, GtkCTreeNode *node,
 
 void summary_filter(SummaryView *summaryview)
 {
 
 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);
 
 
        summary_lock(summaryview);