Move mailbox symlink from ~/mail/mailbox to ~/config/settings/Mail/mailbox as requested in #4580. Create in/out/draft folders at build time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33199 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4b115815dd
commit
6a400ee80f
@ -291,6 +291,12 @@ AddSymlinkToHaikuImage system bin : trash : untrash ;
|
||||
|
||||
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
||||
|
||||
# Mailbox folders and symlink
|
||||
AddDirectoryToHaikuImage home mail drafts ;
|
||||
AddDirectoryToHaikuImage home mail in ;
|
||||
AddDirectoryToHaikuImage home mail out ;
|
||||
AddSymlinkToHaikuImage home config settings Mail : ../../../mail/in : mailbox ;
|
||||
|
||||
# Deskbar Application links
|
||||
AddDirectoryToHaikuImage home config be Applications ;
|
||||
DESKBAR_APPLICATIONS = ActivityMonitor CharacterMap CodyCam CDPlayer DeskCalc
|
||||
|
@ -93,7 +93,7 @@ const char* kSpamServerSignature =
|
||||
const char* kDraftPath = "mail/draft";
|
||||
const char* kDraftType = "text/x-vnd.Be-MailDraft";
|
||||
const char* kMailFolder = "mail";
|
||||
const char* kMailboxFolder = "mail/mailbox";
|
||||
const char* kMailboxFolder = "config/settings/Mail/mailbox";
|
||||
|
||||
|
||||
int32
|
||||
|
@ -344,7 +344,7 @@ void
|
||||
DeskbarView::MouseUp(BPoint pos)
|
||||
{
|
||||
if (fLastButtons & B_PRIMARY_MOUSE_BUTTON) {
|
||||
if (OpenFolder("mail/mailbox") != B_OK
|
||||
if (OpenFolder("config/settings/Mail/mailbox") != B_OK
|
||||
&& OpenFolder("mail/in") != B_OK
|
||||
&& OpenFolder("mail/INBOX") != B_OK)
|
||||
OpenFolder("mail");
|
||||
|
Loading…
Reference in New Issue
Block a user