From 3f04b3fedfdb6b3b7035ae47c610a6f871f33830 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Wed, 11 Jul 2001 02:58:30 +0000 Subject: ask user if they are sure they want to reformat a pre-existing partition --- partitioning.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'partitioning.py') diff --git a/partitioning.py b/partitioning.py index 302b41e11..1a3251894 100644 --- a/partitioning.py +++ b/partitioning.py @@ -1288,3 +1288,12 @@ def partitioningComplete(dispatch, bl, fsset, diskSet, partitions): entry = request.toEntry(partitions) fsset.add (entry) +def queryFormatPreExisting(intf): + rc = intf.messageWindow(_("Format?"), + _("You have chosen to format a pre-existing " + "partition. This will destroy all data " + "that was previously on it.\n\n" + "Are you sure you want to do this?"), + type = "yesno") + return rc + -- cgit