projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new bundle_volume module
[snf-image-creator]
/
image_creator
/
dialog_main.py
diff --git
a/image_creator/dialog_main.py
b/image_creator/dialog_main.py
index
f9dd260
..
4071018
100644
(file)
--- a/
image_creator/dialog_main.py
+++ b/
image_creator/dialog_main.py
@@
-141,14
+141,16
@@
def select_file(d, media):
else:
break
else:
break
- (code, media) = d.fselect(root, 10, 50,
- title="Please select input media")
+ (code, media) = d.fselect(root, 10, 60, extra_button=1,
+ title="Please select an input media.", extra_label="Running System")
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC):
if confirm_exit(d, "You canceled the media selection dialog box."):
sys.exit(0)
else:
media = None
continue
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC):
if confirm_exit(d, "You canceled the media selection dialog box."):
sys.exit(0)
else:
media = None
continue
+ elif code == d.DIALOG_EXTRA:
+ media = '/'
return media
return media