aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.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-view-menu.c
parent33423ed255ce0fa7a246f36da4cb5ef5d278f08d (diff)
downloadgsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.gz
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.bz2
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.lz
gsoc2013-evolution-9b86a516810fb2d1eeb267b17046dc15849e3e53.tar.xz
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-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 116ab27382..ba4db225b3 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -327,7 +327,7 @@ command_open_folder_in_new_window (BonoboUIComponent *uih,
shell = e_shell_view_get_shell (shell_view);
uri = g_strconcat (E_SHELL_URI_PREFIX, get_path_for_folder_op (shell_view), NULL);
- new_view = e_shell_create_view (shell, uri);
+ new_view = e_shell_create_view (shell, uri, shell_view);
g_free (uri);
gtk_widget_show (GTK_WIDGET (new_view));