Change default settings to "Invoke in Pe" if Pe is installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27373 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
61490d4560
commit
7c9d86d7c1
@ -33,6 +33,9 @@
|
||||
#include <List.h>
|
||||
#include <MenuItem.h>
|
||||
#include <Path.h>
|
||||
#include <Roster.h>
|
||||
|
||||
#include "GlobalDefs.h"
|
||||
|
||||
|
||||
using std::nothrow;
|
||||
@ -64,6 +67,12 @@ Model::Model()
|
||||
fFilePanelPath = path.Path();
|
||||
else
|
||||
fFilePanelPath = "/boot/home";
|
||||
|
||||
entry_ref dummy;
|
||||
if (be_roster->FindApp(PE_SIGNATURE, &dummy) == B_OK) {
|
||||
// Pe is installed, change the default settings
|
||||
fInvokePe = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user