* iw/partition_gui.py (editCB): Inform the user the types of editable devices when "edit" is not possible. --- iw/partition_gui.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 3eaa490..ffdd30b 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -1265,6 +1265,14 @@ class PartitionWindow(InstallWindow): self.editLVMLogicalVolume(device) elif isinstance(device, storage.devices.PartitionDevice): self.editPartition(device) + else: + self.intf.messageWindow(_("Unable to Edit"), + _("You chose a device that cannot be " + "edited. Devices that are editable are: " + "LVM logical volumes, LVM physical " + "volumes, device partitions, and RAID " + "devices."), + custom_icon="error") # isNew implies that this request has never been successfully used before def editRaidArray(self, raiddev, isNew = 0): -- 1.6.4.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list