aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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: