aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-11-18 22:30:01 +0100
committerPapoteur <papoteur@mageia.org>2020-11-18 22:30:01 +0100
commit513b313a4db10c4fba28023a5fa5657ad826b042 (patch)
tree865b3c3876a307e5516b0ea27dcebed60b3f936c /lib
parentdc200cd8a75d489474ac880905757fa52f1f3d98 (diff)
downloadisodumper-513b313a4db10c4fba28023a5fa5657ad826b042.tar
isodumper-513b313a4db10c4fba28023a5fa5657ad826b042.tar.gz
isodumper-513b313a4db10c4fba28023a5fa5657ad826b042.tar.bz2
isodumper-513b313a4db10c4fba28023a5fa5657ad826b042.tar.xz
isodumper-513b313a4db10c4fba28023a5fa5657ad826b042.zip
Add more details about operation
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py5
1 files changed, 3 insertions, 2 deletions
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: