aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index e499f8b..204450d 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -198,6 +198,7 @@ class IsoDumper(object):
self.progress.setValue(0)
self.progress.setDisabled()
self.refreshbt.setEnabled()
+ self.persistencecb.setDisabled()
def onProgress(self, frac):
self.logger(_('Wrote: {}% '.format(frac)))
@@ -364,6 +365,7 @@ class IsoDumper(object):
self.writebt.setDisabled()
self.progress.setDisabled()
self.backup_select.setDisabled()
+ self.persistencecb.setDisabled()
def wip_unsensitive(self):
self.ima.setDisabled()
@@ -372,6 +374,7 @@ class IsoDumper(object):
self.backup_select.setDisabled()
self.backupbt.setDisabled()
self.refreshbt.setDisabled()
+ self.persistencecb.setDisabled()
def close(self):
self.write_logfile()
@@ -487,6 +490,9 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
self.atelier.createHStretch(self.writebox)
self.writebt = self.atelier.createPushButton(self.writebox, _("&Write to device" ))
self.writebt.setDisabled()
+ self.persistencebox = self.atelier.createHBox(self.box)
+ self.persistencecb = self.atelier.createCheckBox(self.persistencebox, _("Add a persistent partition in the remaining space"))
+ self.persistencecb.setDisabled()
self.backupbox = self.atelier.createHBox(self.box)
self.atelier.createLabel(self.backupbox,_("Backup to:"))
# add file picker for backup file name
@@ -636,6 +642,7 @@ NTFS or ext. You can specify a volume name and the format in a new dialog box.<B
self.dialog.recalcLayout()
self.writebt.setEnabled()
self.activate_devicelist()
+ self.persistencecb.setEnabled()
if event.widget() == self.writebt:
self.wip_unsensitive()
self.do_write()