diff options
author | Milan Crha <mcrha@redhat.com> | 2016-01-29 12:49:44 +0100 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2016-01-29 12:52:53 +0100 |
commit | 3737b29a2842eb6ffab69b5aab1f2b58d065a73a (patch) | |
tree | 4bc0c4918260569bfd35f928d1d7110e96e32d20 | |
parent | 37527af3ad05d7948077fd81ac68f3b155f2dda9 (diff) | |
download | evolution-3737b29a2842eb6ffab69b5aab1f2b58d065a73a.tar.gz |
Show composer when processing mailto: only after From account is set
This is related to bug #759151, which preserves sign/encrypt settings
only if the window is shown, thus the code-preselected From should
be set before the window is shown to a user.
-rw-r--r-- | mail/em-composer-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 71289c411c..cf4762c2ec 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1408,8 +1408,6 @@ em_utils_compose_new_message_with_mailto (EShell *shell, composer_set_no_change (composer); - gtk_window_present (GTK_WINDOW (composer)); - /* If a CamelFolder was given, we need to backtrack and find * the corresponding ESource with a Mail Identity extension. */ @@ -1430,6 +1428,8 @@ em_utils_compose_new_message_with_mailto (EShell *shell, g_object_unref (client_cache); g_object_unref (registry); + gtk_window_present (GTK_WINDOW (composer)); + return composer; } |