From 5125a8f870ed07b8bf477bda27a9a9fc814ebfad Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 22 Oct 2001 23:59:54 +0000 Subject: 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 --- shell/e-shell-view.c | 1 - 1 file changed, 1 deletion(-) (limited to 'shell/e-shell-view.c') diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 7d0f67c338..5e501d55a5 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -669,7 +669,6 @@ activate_shortcut_cb (EShortcutsView *shortcut_view, EShellView *new_view; new_view = e_shell_create_view (e_shell_view_get_shell (shell_view), uri, shell_view); - gtk_widget_show (GTK_WIDGET (new_view)); } else { e_shell_view_display_uri (shell_view, uri); } -- cgit v1.2.3