If not in "mark automatically as read" mode mark the mail as seen. Fix selection of this option in the preference window. Fix some read/unread bugs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40595 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2011-02-21 09:52:41 +00:00
parent 8fbb452a31
commit d773c5bf4c
6 changed files with 67 additions and 48 deletions
+1
View File
@@ -30,6 +30,7 @@ struct entry_ref;
#define B_MAIL_ATTR_CONTENT "MAIL:content_length" // int32
#define B_MAIL_ATTR_READ "MAIL:read" // int32
#define R5_COMPATIBLE 1
// read flags
enum read_flags {
+1
View File
@@ -17,6 +17,7 @@ class BString;
status_t write_read_attr(BNode& node, read_flags flag);
status_t read_read_attr(BNode& node, read_flags& flag);
// The next couple of functions are our wrapper around convert_to_utf8 and