- Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.
- Some cleanup in Mail. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -195,7 +195,7 @@ public:
|
||||
|
||||
void SyncMessages();
|
||||
void FetchBody(const entry_ref& ref,
|
||||
BMessage* launch = NULL);
|
||||
BMessenger* listener = NULL);
|
||||
void MarkMessageAsRead(const entry_ref& ref,
|
||||
read_flags flag = B_READ);
|
||||
void DeleteMessage(const entry_ref& ref);
|
||||
|
||||
@@ -19,6 +19,7 @@ const uint32 kMsgSetStatusWindowMode = 'shst';
|
||||
const uint32 kMsgCountNewMessages = 'mnum';
|
||||
const uint32 kMsgMarkMessageAsRead = 'mmar';
|
||||
const uint32 kMsgFetchBody = 'mfeb';
|
||||
const uint32 kMsgBodyFetched = 'mbfe';
|
||||
|
||||
|
||||
class BMailDaemon {
|
||||
@@ -32,7 +33,7 @@ public:
|
||||
static status_t MarkAsRead(int32 account, const entry_ref& ref,
|
||||
read_flags flag = B_READ);
|
||||
static status_t FetchBody(const entry_ref& ref,
|
||||
BMessage* launchMessage = NULL);
|
||||
BMessenger* listener = NULL);
|
||||
static status_t Quit();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user