* iw/partition_gui.py (deleteCB): Use self.intf to pop up a warning window. --- iw/partition_gui.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index ee69f85..8c0f714 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -975,6 +975,9 @@ class PartitionWindow(InstallWindow): """ device = self.tree.getCurrentDevice() if not device: + self.intf.messageWindow(_("Unable To Delete"), + _("You must select a device to delete"), + custom_icon="error") return if device.format.type == "disklabel": if doClearPartitionedDevice(self.intf, -- 1.6.4.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list