aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-05 03:33:15 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-05 03:33:15 +0800
commitee467a65b12c7e063763b58157632e093dc86991 (patch)
treefe41e2b556d33b5a716939139babf9c1b0c68ff1 /shell/e-shell.c
parent4270c51a98b6cc77a8337c6120195be4f620c775 (diff)
downloadgsoc2013-evolution-ee467a65b12c7e063763b58157632e093dc86991.tar.gz
gsoc2013-evolution-ee467a65b12c7e063763b58157632e093dc86991.tar.zst
gsoc2013-evolution-ee467a65b12c7e063763b58157632e093dc86991.zip
Pass TRUE as @queue to e_shell_view_display_uri().
* e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index a6b90f3669..839d77263c 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -985,7 +985,7 @@ create_view (EShell *shell,
GTK_SIGNAL_FUNC (view_destroy_cb), shell);
if (uri != NULL)
- e_shell_view_display_uri (E_SHELL_VIEW (view), uri);
+ e_shell_view_display_uri (E_SHELL_VIEW (view), uri, TRUE);
shell->priv->views = g_list_prepend (shell->priv->views, view);