aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-commands.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-12 14:29:09 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-12 14:29:09 +0800
commit9b86a516810fb2d1eeb267b17046dc15849e3e53 (patch)
tree19d517165b86ef8a7ff32c88daf6d3a311535b9e /shell/e-shell-folder-commands.c
parent33423ed255ce0fa7a246f36da4cb5ef5d278f08d (diff)
downloadgsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.gz
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.zst
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.zip
[Fix #7643, Starting new view doesn't honor "view" settings.]
* e-shell-view-menu.c (command_open_folder_in_new_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()' * e-shell-view.c (activate_shortcut_cb): Pass the _view as the @template_view arg to `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()'. * e-shell.c (e_shell_create_view): New arg @template_view. (impl_Shell_createNewView): Pass %NULL as @template_view when calling it. (e_shell_restore_from_settings): Likewise. svn path=/trunk/; revision=13618
Diffstat (limited to 'shell/e-shell-folder-commands.c')
-rw-r--r--shell/e-shell-folder-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c
index bef14fb5e5..9a0be5a6d8 100644
--- a/shell/e-shell-folder-commands.c
+++ b/shell/e-shell-folder-commands.c
@@ -272,7 +272,7 @@ e_shell_command_open_folder_in_other_window (EShell *shell,
folder_path = e_shell_view_get_current_path (shell_view);
uri = g_strconcat (E_SHELL_URI_PREFIX, folder_path, NULL);
- view = e_shell_create_view (shell, uri);
+ view = e_shell_create_view (shell, uri, shell_view);
g_free (uri);
gtk_widget_show (GTK_WIDGET (view));