[evolution/wip/webkit2] Show composer when processing mailto: only after From account is set
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Show composer when processing mailto: only after From account is set
- Date: Thu, 3 Mar 2016 13:45:34 +0000 (UTC)
commit 2f811d53a614c1e9d7391707b5b01e41467cd225
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 29 12:49:44 2016 +0100
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.
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 292f244..3a46355 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1470,8 +1470,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. */
@@ -1492,6 +1490,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]