aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 50749a7698..a9ed7efb09 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -853,9 +853,12 @@ action_new_window_cb (GtkAction *action,
EShellWindow *shell_window)
{
EShell *shell;
+ const gchar *view_name;
shell = e_shell_window_get_shell (shell_window);
- e_shell_create_shell_window (shell);
+ view_name = e_shell_window_get_active_view (shell_window);
+
+ e_shell_create_shell_window (shell, view_name);
}
/**