From 46dee516710185ab5fb881a02580c66f3e82181c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 30 Oct 2001 01:36:48 +0000 Subject: Set the (new) "no_body" flag on the composer. * evolution-composer.c (init): Set the (new) "no_body" flag on the composer. (impl_Composer_set_body_text): And unset it here. (unset_no_body): And here (called if/when the composer is realized). * e-msg-composer.c (build_message): If the composer has the "no_body" flag set, and a single attachment, promote that attachment to be the message body. svn path=/trunk/; revision=14393 --- composer/e-msg-composer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'composer/e-msg-composer.h') diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 941834d120..4e73509207 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -92,6 +92,7 @@ struct _EMsgComposer { gboolean view_cc : 1; gboolean view_subject : 1; gboolean has_changed : 1; + gboolean no_body : 1; gboolean in_signature_insert : 1; }; -- cgit