aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-11-13 22:02:40 +0800
committerMilan Crha <mcrha@redhat.com>2012-11-13 22:02:40 +0800
commitdad357207e2c03911a69e803bf3f4a542e3420c2 (patch)
tree54a55b3c3cc464f9c9e10eae1e4958a178106a48 /mail
parente9038ba92372c11515ba5663c2fd41af7b8494a9 (diff)
downloadgsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar.gz
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar.bz2
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar.lz
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar.xz
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.tar.zst
gsoc2013-evolution-dad357207e2c03911a69e803bf3f4a542e3420c2.zip
Bug #688199 - Replying via a template doesn't mark mail as read/replied
Diffstat (limited to 'mail')
-rw-r--r--mail/em-composer-utils.c14
-rw-r--r--mail/em-composer-utils.h5
2 files changed, 12 insertions, 7 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 15cbebc767..8f08cf039e 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1562,11 +1562,11 @@ emu_update_composers_security (EMsgComposer *composer,
}
}
-static void
-get_real_folder_uri_and_message_uid (CamelFolder *folder,
- const gchar *uid,
- gchar **folder_uri,
- gchar **message_uid)
+void
+em_utils_get_real_folder_uri_and_message_uid (CamelFolder *folder,
+ const gchar *uid,
+ gchar **folder_uri,
+ gchar **message_uid)
{
g_return_if_fail (folder != NULL);
g_return_if_fail (uid != NULL);
@@ -1764,7 +1764,7 @@ forward_non_attached (EShell *shell,
if (uid != NULL) {
gchar *folder_uri = NULL, *tmp_message_uid = NULL;
- get_real_folder_uri_and_message_uid (folder, uid, &folder_uri, &tmp_message_uid);
+ em_utils_get_real_folder_uri_and_message_uid (folder, uid, &folder_uri, &tmp_message_uid);
e_msg_composer_set_source_headers (
composer, folder_uri, tmp_message_uid,
@@ -2998,7 +2998,7 @@ em_utils_reply_to_message (EShell *shell,
if (folder != NULL) {
gchar *folder_uri = NULL, *tmp_message_uid = NULL;
- get_real_folder_uri_and_message_uid (folder, message_uid, &folder_uri, &tmp_message_uid);
+ em_utils_get_real_folder_uri_and_message_uid (folder, message_uid, &folder_uri, &tmp_message_uid);
e_msg_composer_set_source_headers (
composer, folder_uri, tmp_message_uid, flags);
diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index 93d87bfb2e..cda63d1458 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -84,6 +84,11 @@ EDestination ** em_utils_camel_address_to_destination
(CamelInternetAddress *iaddr);
void em_configure_new_composer (EMsgComposer *composer,
EMailSession *session);
+void em_utils_get_real_folder_uri_and_message_uid
+ (CamelFolder *folder,
+ const gchar *uid,
+ gchar **folder_uri,
+ gchar **message_uid);
G_END_DECLS