[evolution] I#1148 - Send account override does not work with post to a mailing list
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1148 - Send account override does not work with post to a mailing list
- Date: Mon, 12 Oct 2020 10:27:08 +0000 (UTC)
commit d9df3947c5ebfd443fd5704cb2f9ee9a98702096
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 12 12:24:50 2020 +0200
I#1148 - Send account override does not work with post to a mailing list
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1148
src/mail/em-composer-utils.c | 28 ----------------------------
1 file changed, 28 deletions(-)
---
diff --git a/src/mail/em-composer-utils.c b/src/mail/em-composer-utils.c
index 881f072344..f48bfd9d13 100644
--- a/src/mail/em-composer-utils.c
+++ b/src/mail/em-composer-utils.c
@@ -1774,9 +1774,6 @@ msg_composer_created_with_mailto_cb (GObject *source_object,
{
CreateComposerData *ccd = user_data;
EMsgComposer *composer;
- EComposerHeaderTable *table;
- EClientCache *client_cache;
- ESourceRegistry *registry;
GError *error = NULL;
g_return_if_fail (ccd != NULL);
@@ -1795,33 +1792,8 @@ msg_composer_created_with_mailto_cb (GObject *source_object,
set_up_new_composer (composer, NULL, ccd->folder, NULL, ccd->message_uid, TRUE);
- table = e_msg_composer_get_header_table (composer);
-
- client_cache = e_composer_header_table_ref_client_cache (table);
- registry = e_client_cache_ref_registry (client_cache);
-
composer_set_no_change (composer);
- /* If a CamelFolder was given, we need to backtrack and find
- * the corresponding ESource with a Mail Identity extension. */
-
- if (ccd->folder) {
- ESource *source;
- CamelStore *store;
-
- store = camel_folder_get_parent_store (ccd->folder);
- source = em_utils_ref_mail_identity_for_store (registry, store);
-
- if (source != NULL) {
- const gchar *uid = e_source_get_uid (source);
- e_composer_header_table_set_identity_uid (table, uid, NULL, NULL);
- g_object_unref (source);
- }
- }
-
- g_object_unref (client_cache);
- g_object_unref (registry);
-
gtk_window_present (GTK_WINDOW (composer));
create_composer_data_free (ccd);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]