aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-23 07:59:54 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-23 07:59:54 +0800
commit5125a8f870ed07b8bf477bda27a9a9fc814ebfad (patch)
treeaa0b180ee678e362cd9a3b9b8fd321366ad10645 /shell/e-shell-view-menu.c
parent93c01a6835f973afefba9de36823951717a868ed (diff)
downloadgsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.gz
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.bz2
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.lz
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.xz
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.tar.zst
gsoc2013-evolution-5125a8f870ed07b8bf477bda27a9a9fc814ebfad.zip
No need to gtk_widget_show() the view anymore.
* e-shell-view-menu.c (command_open_folder_in_new_window): No need to gtk_widget_show() the view anymore. * e-shell-view.c (activate_shortcut_cb): No need to gtk_widget_show() the view anymore. * e-shell.c (impl_Shell_createNewView): Don't explicitly show the new view. (e_shell_create_view): gtk_widget_show() the new view and flush the GTK+ event loop before sending the ::interactive notification. (create_view): New helper function. (e_shell_create_view): Use it. (e_shell_create_view_from_settings): New. (e_shell_restore_from_settings): Use `e_shell_create_view_from_settings()'. svn path=/trunk/; revision=13918
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index e32a1a9d92..3b3844d7b3 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -298,8 +298,6 @@ command_open_folder_in_new_window (BonoboUIComponent *uih,
uri = g_strconcat (E_SHELL_URI_PREFIX, get_path_for_folder_op (shell_view), NULL);
new_view = e_shell_create_view (shell, uri, shell_view);
g_free (uri);
-
- gtk_widget_show (GTK_WIDGET (new_view));
}