diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2009-05-22 20:00:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-24 21:46:17 +0800 |
commit | c3205a427adcc910f0614cb83249622816440c56 (patch) | |
tree | 1064929a119a5dc7ff8c43aa190030344796dba5 /composer | |
parent | 6d89d46353caad7a1a9e70cd60d5aa936f534e40 (diff) | |
download | gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar.gz gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar.bz2 gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar.lz gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar.xz gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.tar.zst gsoc2013-evolution-c3205a427adcc910f0614cb83249622816440c56.zip |
Mail changes required for Anjal.
Diffstat (limited to 'composer')
-rw-r--r-- | composer/e-msg-composer.c | 27 | ||||
-rw-r--r-- | composer/e-msg-composer.h | 3 |
2 files changed, 30 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 93bd6fdd3e..80ee19d9f4 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -100,6 +100,8 @@ enum { LAST_SIGNAL }; +gboolean composer_lite = FALSE; + static gpointer parent_class; static guint signals[LAST_SIGNAL]; @@ -2209,6 +2211,31 @@ e_msg_composer_new (void) return g_object_new (E_TYPE_MSG_COMPOSER, NULL); } +void +e_msg_composer_set_lite (void) +{ + composer_lite = TRUE; +} + +gboolean +e_msg_composer_get_lite (void) +{ + return composer_lite; +} + +EMsgComposer * +e_msg_composer_lite_new (void) +{ + EMsgComposer *composer; + + /* Init lite-composer for ever for the session */ + composer_lite = TRUE; + + composer = e_msg_composer_new (); + + return composer; +} + static void e_msg_composer_set_pending_body (EMsgComposer *composer, gchar *text, diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index c32342c7c0..334a7cf35d 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -69,6 +69,9 @@ struct _EMsgComposerClass { GType e_msg_composer_get_type (void); EMsgComposer * e_msg_composer_new (void); +void e_msg_composer_set_lite (void); +gboolean e_msg_composer_get_lite (void); +EMsgComposer * e_msg_composer_lite_new (void); EMsgComposer * e_msg_composer_new_with_message (CamelMimeMessage *msg); EMsgComposer * e_msg_composer_new_from_url (const gchar *url); EMsgComposer * e_msg_composer_new_redirect (CamelMimeMessage *message, |