[Pkg-privacy-commits] [tails-installer] 20/40: Fire up the progress bar during the dd
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:15:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.13.1
in repository tails-installer.
commit 9fd296727ca377943a993bc079dd0c178f5df89a
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Nov 25 19:56:53 2014 -0700
Fire up the progress bar during the dd
---
liveusb/gui.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/liveusb/gui.py b/liveusb/gui.py
index 6d6e216..8e570c2 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -190,10 +190,12 @@ class LiveUSBThread(QtCore.QThread):
# If we're going to dd the image
if self.parent.destructiveButton.isChecked():
+ self.parent.progressBar.setRange(0, 0)
self.live.dd_image()
self.live.log.removeHandler(handler)
duration = str(datetime.now() - now).split('.')[0]
self.status(_("Complete! (%s)") % duration)
+ self.parent.progressBar.setRange(0, 1)
return
self.live.verify_filesystem()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list