mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
When prompting a program for copiousoutput don't show the block checkbox
Since (I hope) it has no effect. Instead, inform the user that the output will be displayed in the current tab.
This commit is contained in:
parent
ae58ab8fd7
commit
0c2ce62459
@ -1129,7 +1129,13 @@ do_type_query(struct type_query *type_query, unsigned char *ct, struct mime_hand
|
||||
0, 0, NULL, MAX_STR_LEN, field, NULL);
|
||||
type_query->external_handler = field;
|
||||
|
||||
add_dlg_radio(dlg, _("Block the terminal", term), 0, 0, &type_query->block);
|
||||
if (type_query->copiousoutput) {
|
||||
add_dlg_text(dlg, _("The output of the program "
|
||||
"will be shown in the tab", term),
|
||||
ALIGN_LEFT, 0);
|
||||
} else {
|
||||
add_dlg_radio(dlg, _("Block the terminal", term), 0, 0, &type_query->block);
|
||||
}
|
||||
selected_widget = 3;
|
||||
|
||||
} else if (handler) {
|
||||
|
Loading…
Reference in New Issue
Block a user