* src/filtering.c
use procmsg flag functions in filtering or processing will cause incorrect folder message counts
This commit is contained in:
parent
ef365afbb8
commit
564d9aa642
|
@ -1,3 +1,9 @@
|
|||
2002-09-11 [christoph] 0.8.2claws40
|
||||
|
||||
* src/filtering.c
|
||||
use procmsg flag functions in filtering or processing
|
||||
will cause incorrect folder message counts
|
||||
|
||||
2002-09-11 [colin] 0.8.2claws39
|
||||
|
||||
* src/compose.c
|
||||
|
|
|
@ -8,7 +8,7 @@ MINOR_VERSION=8
|
|||
MICRO_VERSION=2
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=claws39
|
||||
EXTRA_VERSION=claws40
|
||||
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
|
||||
|
||||
dnl set $target
|
||||
|
|
|
@ -170,25 +170,25 @@ static gboolean filteringaction_apply(FilteringAction * action, MsgInfo * info,
|
|||
return TRUE;
|
||||
|
||||
case MATCHACTION_MARK:
|
||||
MSG_SET_PERM_FLAGS(info->flags, MSG_MARKED);
|
||||
procmsg_msginfo_set_flags(info, MSG_MARKED, 0);
|
||||
return TRUE;
|
||||
|
||||
case MATCHACTION_UNMARK:
|
||||
MSG_UNSET_PERM_FLAGS(info->flags, MSG_MARKED);
|
||||
procmsg_msginfo_unset_flags(info, MSG_MARKED, 0);
|
||||
return TRUE;
|
||||
|
||||
case MATCHACTION_MARK_AS_READ:
|
||||
MSG_UNSET_PERM_FLAGS(info->flags, MSG_UNREAD | MSG_NEW);
|
||||
procmsg_msginfo_unset_flags(info, MSG_UNREAD | MSG_NEW, 0);
|
||||
return TRUE;
|
||||
|
||||
case MATCHACTION_MARK_AS_UNREAD:
|
||||
debug_print("*** setting unread flags\n");
|
||||
MSG_SET_PERM_FLAGS(info->flags, MSG_UNREAD | MSG_NEW);
|
||||
procmsg_msginfo_set_flags(info, MSG_UNREAD | MSG_NEW, 0);
|
||||
return TRUE;
|
||||
|
||||
case MATCHACTION_COLOR:
|
||||
MSG_UNSET_PERM_FLAGS(info->flags, MSG_CLABEL_FLAG_MASK);
|
||||
MSG_SET_COLORLABEL_VALUE(info->flags, action->labelcolor);
|
||||
procmsg_msginfo_unset_flags(info, MSG_CLABEL_FLAG_MASK, 0);
|
||||
procmsg_msginfo_set_flags(info, MSG_COLORLABEL_TO_FLAGS(action->labelcolor), 0);
|
||||
return TRUE;
|
||||
|
||||
case MATCHACTION_FORWARD:
|
||||
|
|
Loading…
Reference in a new issue