0.8.10claws45
authorChristoph Hohmann <reboot@gmx.ch>
Sat, 22 Feb 2003 19:09:05 +0000 (19:09 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sat, 22 Feb 2003 19:09:05 +0000 (19:09 +0000)
* src/procmsg.c
        fix IMAP flag setting, IMAP flag is not handled correctly
        anymore by the folder system and information about the
        folder should not be saved in the MsgInfo (in my opinion)

Patch submitted by Simon 'corecode' Schubert <corecode@corecode.ath.cx>

ChangeLog.claws
configure.ac
src/procmsg.c

index 223fc01445b65492e1749fa0c96456187758c909..49aa61fb1eedf0603ad090213a04f861d4fae709 100644 (file)
@@ -1,3 +1,12 @@
+2003-02-22 [christoph] 0.8.10claws45
+
+       * src/procmsg.c
+               fix IMAP flag setting, IMAP flag is not handled correctly
+               anymore by the folder system and information about the
+               folder should not be saved in the MsgInfo (in my opinion)
+
+       Patch submitted by Simon 'corecode' Schubert <corecode@corecode.ath.cx>
+
 2003-02-22 [christoph] 0.8.10claws44
 
        * src/summaryview.c
index ef43999dd3448840413226cd78068cbe1c5988ec..f953f8fce32561b3776b356cbb2ed71cb120d9dd 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws44
+EXTRA_VERSION=claws45
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 5f8c915bd6674fe93c37f8807ae49cd5b55c473d..2d51337501d76d205a4dd015fd62bb1bec35da05 100644 (file)
@@ -1514,7 +1514,7 @@ void procmsg_msginfo_set_flags(MsgInfo *msginfo, MsgPermFlags perm_flags, MsgTmp
 
        }
 
-       if (MSG_IS_IMAP(msginfo->flags))
+       if (msginfo->folder->folder->type == F_IMAP)
                imap_msg_set_perm_flags(msginfo, perm_flags);
 
        msginfo->flags.perm_flags |= perm_flags;
@@ -1580,7 +1580,7 @@ void procmsg_msginfo_unset_flags(MsgInfo *msginfo, MsgPermFlags perm_flags, MsgT
 
        }
 
-       if (MSG_IS_IMAP(msginfo->flags))
+       if (msginfo->folder->folder->type == F_IMAP)
                imap_msg_unset_perm_flags(msginfo, perm_flags);
 
        msginfo->flags.perm_flags &= ~perm_flags;