diff options
-rw-r--r-- | composer/e-msg-composer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 308d7e8294..f8e34718a1 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2145,8 +2145,14 @@ msg_composer_class_init (EMsgComposerClass *class) static void msg_composer_init (EMsgComposer *composer) { + EShell *shell = e_shell_get_default (); composer->lite = composer_lite; composer->priv = E_MSG_COMPOSER_GET_PRIVATE (composer); + + if (e_shell_get_express_mode (shell)) { + GtkWindow *window = e_shell_get_active_window(shell); + gtk_window_set_transient_for (GTK_WINDOW(composer), window); + } } GType |