From c3205a427adcc910f0614cb83249622816440c56 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 22 May 2009 17:30:14 +0530 Subject: Mail changes required for Anjal. --- composer/e-msg-composer.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'composer/e-msg-composer.c') 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, -- cgit