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:
@@ -389,7 +389,12 @@ TermApp::MakeTermWindow(BRect &frame)
|
|||||||
void
|
void
|
||||||
TermApp::RunNewTerm(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
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user