From 513b313a4db10c4fba28023a5fa5657ad826b042 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 18 Nov 2020 22:30:01 +0100 Subject: Add more details about operation --- lib/isodumper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/isodumper.py b/lib/isodumper.py index 32f311c..51e85ff 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -403,8 +403,6 @@ class IsoDumper(object): time.sleep(.5) success, message = iface.end() self.progress.setEnabled() - self.progress.setValue(100) - self.dialog.pollEvent() self.logger(message) # Add persistent partition if asked if self.persistencecb.isChecked(): @@ -419,6 +417,7 @@ class IsoDumper(object): while not iface.done: progress = iface.progress self.progress.setValue(progress) + self.progress.setLabel(iface.message) self.dialog.pollEvent() time.sleep(.5) if iface.state: @@ -434,6 +433,8 @@ class IsoDumper(object): time.sleep(.5) self.logger(_("Added persistent partition")) # Unmount if partitions are automatically mounted and then eject + self.progress.setValue(100) + self.dialog.pollEvent() success, message = self.u.do_unmount(target) self.udev_wait(_("unmounting")) if success: -- cgit v1.2.1