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:
parent
849246ba77
commit
75998ed610
@ -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);
|
||||
|
@ -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
|
||||
|
@ -100,6 +100,7 @@ enum MENUS {
|
||||
M_SIG_MENU,
|
||||
M_FIND,
|
||||
M_FIND_AGAIN,
|
||||
M_ACCOUNTS,
|
||||
|
||||
// queries
|
||||
M_EDIT_QUERIES,
|
||||
|
Loading…
Reference in New Issue
Block a user