Skip to content
Snippets Groups Projects
Commit b686bde9 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Add "Running System" button in media selection

This can be used to create an image out of a live system. This
functionality is not yet implemented.
parent 8bd0cbb6
No related branches found
No related tags found
No related merge requests found
......@@ -141,14 +141,16 @@ def select_file(d, media):
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
elif code == d.DIALOG_EXTRA:
media = '/'
return media
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment