+2002-01-27 [alfons] 0.7.0claws32
+
+ * src/procmsg.h
+ * src/procheader.c
+ * src/messageview.c
+ fix return receipt / disposition notification again. this
+ stuff seems to break on _every_ major summary UI change, so
+ it's now implemented using a flag which is saved in the
+ marks cache
+
2002-01-26 [alfons] 0.7.0claws31
* src/import.c
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws31
+EXTRA_VERSION=claws32
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
if (prefs_common.return_receipt
&& (tmpmsginfo->dispositionnotificationto
|| tmpmsginfo->returnreceiptto)
- && (MSG_IS_UNREAD(msginfo->flags))) {
+ && (MSG_IS_RETRCPT_PENDING(msginfo->flags))) {
gint ok;
if (alertpanel(_("Return Receipt"), _("Send return receipt ?"),
ok = disposition_notification_send(tmpmsginfo);
if (ok < 0)
alertpanel_error(_("Error occurred while sending notification."));
+ else
+ MSG_UNSET_PERM_FLAGS(msginfo->flags, MSG_RETRCPT_PENDING);
}
}
case H_DISPOSITION_NOTIFICATION_TO:
if (msginfo->dispositionnotificationto) break;
msginfo->dispositionnotificationto = g_strdup(hp);
+ MSG_SET_PERM_FLAGS(msginfo->flags, MSG_RETRCPT_PENDING);
break;
case H_RETURN_RECEIPT_TO:
if (msginfo->returnreceiptto) break;
msginfo->returnreceiptto = g_strdup(hp);
+ MSG_SET_PERM_FLAGS(msginfo->flags, MSG_RETRCPT_PENDING);
break;
#ifdef ALLOW_HEADER_HINT
case H_STATUS:
MSG_IGNORE_THREAD = 1 << 10, /* ignore threads */
MSG_LOCKED = 1 << 11, /* msg is locked */
+ MSG_RETRCPT_PENDING = 1 << 12, /* return receipt pending */
/* RESERVED */
MSG_RESERVED_CLAWS = 1 << 30, /* for sylpheed-claws */
/* Claws related flags */
#define MSG_IS_REALLY_DELETED(msg) (((msg).perm_flags & MSG_REALLY_DELETED) != 0)
#define MSG_IS_IGNORE_THREAD(msg) (((msg).perm_flags & MSG_IGNORE_THREAD) != 0)
+#define MSG_IS_RETRCPT_PENDING(msg) (((msg).perm_flags & MSG_RETRCPT_PENDING) != 0)
#define WRITE_CACHE_DATA_INT(n, fp) \