fixed launching of new terminal windows
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0f25271b5d
commit
69554e1221
@ -389,7 +389,12 @@ TermApp::MakeTermWindow(BRect &frame)
|
||||
void
|
||||
TermApp::RunNewTerm(void)
|
||||
{
|
||||
be_roster->Launch(TERM_SIGNATURE);
|
||||
app_info info;
|
||||
be_app->GetAppInfo(&info);
|
||||
|
||||
// try launching two different ways to work around possible problems
|
||||
if(be_roster->Launch(&(info.ref))!=B_OK)
|
||||
be_roster->Launch(TERM_SIGNATURE);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user