History log of /haiku/src/apps/drivesetup/ChangeParametersPanel.h
Revision Date Author Comments
# f4abe406 23-Mar-2021 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

DriveSetup: fix creating partitions

The code paths for creating a new partition and editing an existing one
are more mixed together than I thought:

- CreateParametersPanel reuses a method from ChangeParametersPanel which
I had modified.
- In the storage kit, the code to create the parameter editor is also
shared between the two.

The problem is that when creating a partition, we have only the parent
BPartition. When modifying parameters, we have the child, and we need
to get some things from the child (the current parameters), and some
from the parent (the parameter editor).

Fixes #16859.

Change-Id: I5978386978c79a351e94c098c065fd43c422eb51
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3822
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 8940ad25 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: Added support for changing partition parameters.

* Does not seem to work yet, though. The intel disk system should support it
now, but apparently the partition's delegate is not yet fully initialized
for whatever reason.


# 8940ad259ab803eff8176766a73f8f531142c3b6 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

DriveSetup: Added support for changing partition parameters.

* Does not seem to work yet, though. The intel disk system should support it
now, but apparently the partition's delegate is not yet fully initialized
for whatever reason.