summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-01-29 07:56:37 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-01-29 07:56:37 +0000
commit6f4016be863772fd8cb6a0d3b248d92325dabb08 (patch)
treeba5e5cad48bcc86539a945e5d9c18c193b5312cd /compose.c
parentd883b7e2bee5c7705edbfb80a0c41b5eeb4ddd82 (diff)
Michael Elkins' content-disposition patch, with some small changes.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index dcbc8e8a..73fe6338 100644
--- a/compose.c
+++ b/compose.c
@@ -845,6 +845,12 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
}
break;
+ case OP_COMPOSE_TOGGLE_DISPOSITION:
+ /* toggle the content-disposition between inline/attachment */
+ idx[menu->current]->content->disposition = (idx[menu->current]->content->disposition == DISPINLINE) ? DISPATTACH : DISPINLINE;
+ menu->redraw = REDRAW_CURRENT;
+ break;
+
case OP_EDIT_TYPE:
CHECK_COUNT;
{