Added an Accounts menu item which opens the E-mail preferences.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24021 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2008-02-19 22:08:54 +00:00
parent 849246ba77
commit 75998ed610
3 changed files with 9 additions and 0 deletions

View File

@ -374,6 +374,10 @@ TMailApp::MessageReceived(BMessage *msg)
break;
}
case M_ACCOUNTS:
be_roster->Launch("application/x-vnd.Haiku-Mail");
break;
case M_EDIT_SIGNATURE:
if (fSigWindow)
fSigWindow->Activate(true);

View File

@ -354,6 +354,10 @@ TMailWindow::TMailWindow(BRect rect, const char* title, TMailApp* app,
new BMessage(M_PREFS),','));
item->SetTarget(be_app);
menu_bar->AddItem(menu);
menu->AddItem(item = new BMenuItem(
MDR_DIALECT_CHOICE ("Accounts","Accounts") B_UTF8_ELLIPSIS,
new BMessage(M_ACCOUNTS),'-'));
item->SetTarget(be_app);
//
// View Menu

View File

@ -100,6 +100,7 @@ enum MENUS {
M_SIG_MENU,
M_FIND,
M_FIND_AGAIN,
M_ACCOUNTS,
// queries
M_EDIT_QUERIES,