aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-04-30 12:03:35 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-04-30 12:03:35 +0800
commit4db5d55329a4f06b7369c114d6fd565f39747b8a (patch)
tree208195f256c3f88f82e3b01c4f036192624d9713 /composer/e-msg-composer.c
parent76031ea9cebcd1a261d0f1e4f7b69ceb296068c8 (diff)
downloadgsoc2013-evolution-4db5d55329a4f06b7369c114d6fd565f39747b8a.tar.gz
gsoc2013-evolution-4db5d55329a4f06b7369c114d6fd565f39747b8a.tar.zst
gsoc2013-evolution-4db5d55329a4f06b7369c114d6fd565f39747b8a.zip
Set transient prop in express mode so that composer appears in the same
zone as the mail window.
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
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