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:
Jérôme Duval
2005-10-26 15:42:22 +00:00
parent 079e4d1f0b
commit 6a4b16f094
4 changed files with 31 additions and 15 deletions
+2 -3
View File
@@ -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);
}