Switched shortcuts for closing the window and closing the active tab, thus

aligning them with WebPositive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39463 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-11-17 15:27:27 +00:00
parent a5cf354a27
commit 50913c0873

View File

@ -363,8 +363,10 @@ TermWindow::_SetupMenu()
B_TRANSLATE("About Terminal" B_UTF8_ELLIPSIS),
new BMessage(B_ABOUT_REQUESTED)));
fFilemenu->AddSeparatorItem();
fFilemenu->AddItem(new BMenuItem(B_TRANSLATE("Close window"),
new BMessage(B_QUIT_REQUESTED), 'W', B_SHIFT_KEY));
fFilemenu->AddItem(new BMenuItem(B_TRANSLATE("Close active tab"),
new BMessage(kCloseView), 'W', B_SHIFT_KEY));
new BMessage(kCloseView), 'W'));
fFilemenu->AddItem(new BMenuItem(B_TRANSLATE("Quit"),
new BMessage(B_QUIT_REQUESTED), 'Q'));
fMenubar->AddItem(fFilemenu);