+2007-06-16 [colin] 2.9.2cvs65
+
+ * src/prefs_summaries.c
+ * src/procmsg.c
+ Change the pref "Only mark as read when opened
+ in new window" to "..., replied to or forwarded".
+ Based on a patch by Paul Rolland.
+
2007-06-16 [paul] 2.9.2cvs64
* src/gtk/authors.h
( cvs diff -u -r 1.94.2.134 -r 1.94.2.135 src/messageview.c; ) > 2.9.2cvs62.patchset
( cvs diff -u -r 1.100.2.49 -r 1.100.2.50 AUTHORS; cvs diff -u -r 1.1.2.36 -r 1.1.2.37 src/gtk/authors.h; ) > 2.9.2cvs63.patchset
( cvs diff -u -r 1.1.2.37 -r 1.1.2.38 src/gtk/authors.h; ) > 2.9.2cvs64.patchset
+( cvs diff -u -r 1.1.2.42 -r 1.1.2.43 src/prefs_summaries.c; cvs diff -u -r 1.150.2.96 -r 1.150.2.97 src/procmsg.c; ) > 2.9.2cvs65.patchset
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=64
+EXTRA_VERSION=65
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
NULL);
PACK_CHECK_BUTTON
(vbox2, checkbtn_mark_as_read_on_newwin,
- _("Only mark message as read when opened in a new window"));
+ _("Only mark message as read when opened \n"
+ "in a new window, replied to, or forwarded"));
hbox1 = gtk_hbox_new (FALSE, 8);
gtk_widget_show (hbox1);
}
if (msginfo != NULL) {
+ MsgPermFlags to_unset = 0;
+
+ if (prefs_common.mark_as_read_on_new_window)
+ to_unset = (MSG_NEW|MSG_UNREAD);
+
if (replymessageid != NULL) {
- procmsg_msginfo_unset_flags(msginfo, MSG_FORWARDED, 0);
+ procmsg_msginfo_unset_flags(msginfo, to_unset|MSG_FORWARDED, 0);
procmsg_msginfo_set_flags(msginfo, MSG_REPLIED, 0);
} else {
- procmsg_msginfo_unset_flags(msginfo, MSG_REPLIED, 0);
+ procmsg_msginfo_unset_flags(msginfo, to_unset|MSG_REPLIED, 0);
procmsg_msginfo_set_flags(msginfo, MSG_FORWARDED, 0);
}
procmsg_msginfo_free(msginfo);