Patch by idefix: Make the source items behave exactly like the target items
with regards to the label & style cleanup. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31854 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8752f52d71
commit
5c7514c317
@ -362,7 +362,7 @@ InstallerWindow::MessageReceived(BMessage *msg)
|
||||
case SHOW_BOTTOM_MESSAGE:
|
||||
_ShowOptionalPackages();
|
||||
break;
|
||||
case SRC_PARTITION:
|
||||
case SOURCE_PARTITION:
|
||||
_PublishPackages();
|
||||
_UpdateControls();
|
||||
break;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <Partition.h>
|
||||
|
||||
|
||||
const uint32 SRC_PARTITION = 'iSPT';
|
||||
const uint32 SOURCE_PARTITION = 'iSPT';
|
||||
const uint32 TARGET_PARTITION = 'iTPT';
|
||||
|
||||
|
||||
|
@ -535,7 +535,7 @@ SourceVisitor::Visit(BPartition *partition, int32 level)
|
||||
char menuLabel[255];
|
||||
make_partition_label(partition, label, menuLabel, false);
|
||||
PartitionMenuItem* item = new PartitionMenuItem(partition->ContentName(),
|
||||
label, NULL, new BMessage(SRC_PARTITION), partition->ID());
|
||||
label, menuLabel, new BMessage(SOURCE_PARTITION), partition->ID());
|
||||
item->SetMarked(isBootPartition);
|
||||
fMenu->AddItem(item);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user