From 0c2ce62459e99a7ea4e1dbc40ec10da858146bc7 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 6 Jun 2006 01:32:03 +0200 Subject: [PATCH] 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. --- src/session/download.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/session/download.c b/src/session/download.c index 1a5893f7..6d25c073 100644 --- a/src/session/download.c +++ b/src/session/download.c @@ -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) {