aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 04:06:54 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-09 04:06:54 +0800
commit301528d84bf582d956c0e9b768e4f60259f0cf88 (patch)
tree805da1fd93810067b918d8467f4b753cf9c68180 /composer
parent3615c9dbb4749849de6ea7d913b5c9bc73ba70ce (diff)
downloadgsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar.gz
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar.bz2
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar.lz
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar.xz
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.tar.zst
gsoc2013-evolution-301528d84bf582d956c0e9b768e4f60259f0cf88.zip
Commit for tnef attachment and attachment reminder
svn path=/trunk/; revision=33769
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c27
2 files changed, 33 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index b5d50def62..c7e20a0e83 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-08 Johnny Jacob <jjohnny@novell.com>
+
+ * e-msg-composer.c : (e_msg_composer_get_raw_message_text ) Added.
+ (e_msg_composer_get_attachment_bar) : Added. Returns the reference
+ to the attachment bar.
+
2007-06-18 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #444107
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 63052a3ff2..53f6ce70e9 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -6224,6 +6224,33 @@ e_msg_composer_unset_autosaved (EMsgComposer *composer)
p->autosaved = FALSE;
}
+/**
+ * e_msg_composer_get_raw_message_text:
+ *
+ * Returns the text/plain of the message from composer
+ **/
+const char *
+e_msg_composer_get_raw_message_text (EMsgComposer *composer)
+{
+ GByteArray *data = NULL;
+ EMsgComposerPrivate *p = composer->priv;
+ g_return_val_if_fail (E_IS_MSG_COMPOSER (composer), NULL);
+
+ data = get_text (p->persist_stream_interface, "text/plain");
+ if (data)
+ return data->data;
+
+ return NULL;
+}
+
+EAttachmentBar*
+e_msg_composer_get_attachment_bar (EMsgComposer *composer)
+{
+ EMsgComposerPrivate *p = composer->priv;
+
+ return (EAttachmentBar*) p->attachment_bar;
+}
+
gboolean
e_msg_composer_is_autosaved (EMsgComposer *composer)
{