sculpt: abbreviate .part_block suffix to .part

This slightly reduces the horizontal space of the component graph.
This commit is contained in:
Norman Feske 2024-03-22 18:01:38 +01:00 committed by Christian Helmuth
parent fe596f2219
commit 99da68183f
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ struct Sculpt::Storage_device
: Start_name { label };
}
Start_name part_block_start_name() const { return { name(), ".part_block" }; }
Start_name part_block_start_name() const { return { name(), ".part" }; }
Start_name relabel_start_name() const { return { name(), ".relabel" }; }
Start_name expand_start_name() const { return { name(), ".expand" }; }

View File

@ -83,7 +83,7 @@ struct Sculpt::Storage_target
/* access partition */
else {
xml.node("child", [&] () {
xml.attribute("name", Label(device_and_port(), ".part_block"));
xml.attribute("name", Label(device_and_port(), ".part"));
xml.attribute("label", partition);
});
}