now uses real partitions for menus
annoyingly app_server crashes now at every launch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,15 +9,14 @@
|
||||
|
||||
#include "PartitionMenuItem.h"
|
||||
|
||||
PartitionMenuItem::PartitionMenuItem(const char *label, BMessage *msg, const char* path)
|
||||
PartitionMenuItem::PartitionMenuItem(const char *label, BMessage *msg, partition_id id)
|
||||
: BMenuItem(label, msg)
|
||||
{
|
||||
fPath = strdup(path);
|
||||
fID = id;
|
||||
}
|
||||
|
||||
|
||||
PartitionMenuItem::~PartitionMenuItem()
|
||||
{
|
||||
free(fPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user