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:
@@ -362,7 +362,7 @@ InstallerWindow::MessageReceived(BMessage *msg)
|
|||||||
case SHOW_BOTTOM_MESSAGE:
|
case SHOW_BOTTOM_MESSAGE:
|
||||||
_ShowOptionalPackages();
|
_ShowOptionalPackages();
|
||||||
break;
|
break;
|
||||||
case SRC_PARTITION:
|
case SOURCE_PARTITION:
|
||||||
_PublishPackages();
|
_PublishPackages();
|
||||||
_UpdateControls();
|
_UpdateControls();
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include <Partition.h>
|
#include <Partition.h>
|
||||||
|
|
||||||
|
|
||||||
const uint32 SRC_PARTITION = 'iSPT';
|
const uint32 SOURCE_PARTITION = 'iSPT';
|
||||||
const uint32 TARGET_PARTITION = 'iTPT';
|
const uint32 TARGET_PARTITION = 'iTPT';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -535,7 +535,7 @@ SourceVisitor::Visit(BPartition *partition, int32 level)
|
|||||||
char menuLabel[255];
|
char menuLabel[255];
|
||||||
make_partition_label(partition, label, menuLabel, false);
|
make_partition_label(partition, label, menuLabel, false);
|
||||||
PartitionMenuItem* item = new PartitionMenuItem(partition->ContentName(),
|
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);
|
item->SetMarked(isBootPartition);
|
||||||
fMenu->AddItem(item);
|
fMenu->AddItem(item);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user