reintroduce return-receipt-request things lost because procheader_parse() seems to...
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 26 Sep 2001 18:05:09 +0000 (18:05 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 26 Sep 2001 18:05:09 +0000 (18:05 +0000)
ChangeLog.claws
configure.in
src/messageview.c

index cdade83b0fb70ee2a9db390bff246fe8b77fe4ee..ae8941985ae38d091fb6855abfbf5bad0f4e0e17 100644 (file)
@@ -1,3 +1,10 @@
+2001-09-26 [alfons]    0.6.2claws8
+
+       * src/messageview.c
+               introduce return receipt request notification again,
+               which was lost because of other semantics in 
+               procheader_parse() (???)
+
 2001-09-26 [christoph] 0.6.2claws7
 
        * src/compose.c
index 79f4f79e4133cbdf0331eaf5715d319b9631b9e1..7f8af1eda8990ce5c55f414d4fc531a55b7853fd 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws7
+EXTRA_VERSION=claws8
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 7334062ba0e2c99a16125f9d97e26aaf4eaa9508..64926e4bdb6867020fade38230c08c459f251f66 100644 (file)
@@ -405,12 +405,17 @@ void messageview_show(MessageView *messageview, MsgInfo *msginfo)
        file = procmsg_get_message_file_path(msginfo);
        g_return_if_fail(file != NULL);
 
+       /* FIXME - doesn't tmpmsginfo->flags have the value
+        * of msginfo->flags after procheader_parse()???
+        * in any case, checking tmpmsginfo->flags for MSG_UNREAD
+        * fixes the return-receipt-request bug */
+
        tmpmsginfo = procheader_parse(file, msginfo->flags, TRUE);
 
        if (prefs_common.return_receipt
            && (tmpmsginfo->dispositionnotificationto
                || tmpmsginfo->returnreceiptto)
-           && (MSG_IS_UNREAD(msginfo->flags))) {
+           && (MSG_IS_UNREAD(tmpmsginfo->flags))) {
                gint ok;
                
                if (alertpanel(_("Return Receipt"), _("Send return receipt ?"),