From: Michael Tremer Date: Sat, 8 May 2021 14:14:27 +0000 (+0000) Subject: Show message window when creating the partition layout X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=766749e06cd80101a059eec63819ca11783f4652;p=people%2Fms%2Fbricklayer.git Show message window when creating the partition layout Signed-off-by: Michael Tremer --- diff --git a/src/python/disk.py b/src/python/disk.py index a808b70..ee82158 100644 --- a/src/python/disk.py +++ b/src/python/disk.py @@ -427,8 +427,12 @@ class CreatePartitionLayout(step.Step): def run(self, tui): log.debug("Creating partitions") - for disk in self.bricklayer.disks.selected: - disk.commit() + with tui.progress( + _("Creating Partition Layout"), + _("Creating partition layout..."), + ): + for disk in self.bricklayer.disks.selected: + disk.commit() class CreateFilesystems(step.Step):