+
+ def selectPath(self):
+ if config.usage.setup_level.index < 2: #-expert
+ return
+ self.session.openWithCallback(
+ self.pathSelected,
+ LocationBox,
+ text = _("Choose target folder"),
+ filename = "",
+ currDir = None, # TODO: fix FileList to correctly determine mountpoint
+ minFree = 100
+ )
+
+ def pathSelected(self, res):
+ if res is not None:
+ self.timerentry_dirname.choices.append(res)
+ self.timerentry_dirname.description[res] = res
+ self.timerentry_dirname.value = res
+