* Added shortcut Command+Shift+T to open a Terminal. For compatiblity with BeOS :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28289 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-10-22 18:42:21 +00:00
parent a679600d82
commit 68f6bdfbc8

View File

@ -55,6 +55,7 @@ private:
static const uint32 kMsgUpdate = 'TMup';
static const uint32 kMsgLaunchTerminal = 'TMlt';
const uint32 TM_CANCEL = 'TMca';
const uint32 TM_FORCE_REBOOT = 'TMfr';
const uint32 TM_KILL_APPLICATION = 'TMka';
@ -140,6 +141,9 @@ TeamMonitorWindow::TeamMonitorWindow()
SetSizeLimits(Bounds().Width(), Bounds().Width() * 2,
Bounds().Height(), screenFrame.Height());
AddShortcut('T', B_COMMAND_KEY | B_SHIFT_KEY,
new BMessage(kMsgLaunchTerminal));
}
@ -168,6 +172,10 @@ TeamMonitorWindow::MessageReceived(BMessage *msg)
fDescriptionView->CtrlAltDelPressed(keyDown);
break;
case kMsgLaunchTerminal:
be_roster->Launch("application/x-vnd.Haiku-Terminal");
break;
case TM_FORCE_REBOOT:
_kern_shutdown(true);
break;