diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-05 03:33:15 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-05 03:33:15 +0800 |
commit | ee467a65b12c7e063763b58157632e093dc86991 (patch) | |
tree | fe41e2b556d33b5a716939139babf9c1b0c68ff1 /shell/e-shell-view-menu.c | |
parent | 4270c51a98b6cc77a8337c6120195be4f620c775 (diff) | |
download | gsoc2013-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-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 98414e3a65..e8761ff349 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -323,7 +323,7 @@ command_activate_view (BonoboUIComponent *uih, shell_view = E_SHELL_VIEW (data); uri = g_strconcat (E_SHELL_URI_PREFIX, get_path_for_folder_op (shell_view), NULL); - e_shell_view_display_uri (shell_view, uri); + e_shell_view_display_uri (shell_view, uri, TRUE); g_free (uri); } @@ -449,7 +449,7 @@ goto_folder_dialog_folder_selected_cb (EShellFolderSelectionDialog *folder_selec shell_view = E_SHELL_VIEW (data); uri = g_strconcat (E_SHELL_URI_PREFIX, path, NULL); - e_shell_view_display_uri (shell_view, uri); + e_shell_view_display_uri (shell_view, uri, TRUE); g_free (uri); } } |