Revision 74585c56
b/image_creator/dialog_main.py | ||
---|---|---|
126 | 126 |
|
127 | 127 |
def confirm_reset(d): |
128 | 128 |
return not d.yesno("Are you sure you want to reset everything?", |
129 |
width=YESNO_WIDTH) |
|
129 |
width=YESNO_WIDTH, defaultno=1)
|
|
130 | 130 |
|
131 | 131 |
|
132 | 132 |
def update_background_title(session): |
... | ... | |
366 | 366 |
|
367 | 367 |
(code, choice) = d.menu( |
368 | 368 |
text="Choose one of the following or press <Back> to go back.", |
369 |
width=MENU_WIDTH, choices=choices, cancel="Back", help_button=1,
|
|
369 |
width=MENU_WIDTH, choices=choices, cancel="Back", |
|
370 | 370 |
default_item=default_item, title="Image Registration Menu") |
371 | 371 |
|
372 | 372 |
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC): |
... | ... | |
459 | 459 |
"information about image properties. Press <BACK> when done.", |
460 | 460 |
height=18, width=MENU_WIDTH, choices=choices, menu_height=10, |
461 | 461 |
ok_label="Edit", extra_button=1, extra_label="Add", cancel="Back", |
462 |
help_button=1, title="Image Metadata")
|
|
462 |
help_button=1, title="Image Properties")
|
|
463 | 463 |
|
464 | 464 |
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC): |
465 | 465 |
break |
Also available in: Unified diff