aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-30 09:36:48 +0800
committerDan Winship <danw@src.gnome.org>2001-10-30 09:36:48 +0800
commit46dee516710185ab5fb881a02580c66f3e82181c (patch)
tree726f24567c51d27580c4f444ee7d7b33b5f5671e /composer/e-msg-composer.h
parente6e77f1fc333b12693989ccbbd9a432465c6ffd6 (diff)
downloadgsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar.gz
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar.bz2
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar.lz
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar.xz
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.tar.zst
gsoc2013-evolution-46dee516710185ab5fb881a02580c66f3e82181c.zip
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
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h1
1 files changed, 1 insertions, 0 deletions
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;
};