[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Use part instead of device in PartitionWindow.populate() (#575749)



> >> This seems right, except that deleteCB and editCB will need some
> >> updating to handle the possibility that DiskTreeModel will return a
> >> parted.Partition instance, eg:
> >>
> >>     device = self.tree.getCurrentDevice()
> >>     if device.partitioned:
> >>
> >> and
> >>
> >>     device = self.tree.getCurrentDevice()
> >>     reason = self.storage.deviceImmutable(device, ignoreProtected=True)
> >>
> >>
> 
> So I can disregard this part?

Yes.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]