diff options
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 2863fc34a7..0269db569b 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -951,8 +951,10 @@ update_for_current_uri (EShellView *shell_view) gtk_signal_handler_block_by_func (GTK_OBJECT (priv->storage_set_view), GTK_SIGNAL_FUNC (folder_selected_cb), shell_view); - e_storage_set_view_set_current_folder (E_STORAGE_SET_VIEW (priv->storage_set_view), - path); + + if (path != NULL) + e_storage_set_view_set_current_folder (E_STORAGE_SET_VIEW (priv->storage_set_view), path); + gtk_signal_handler_unblock_by_func (GTK_OBJECT (priv->storage_set_view), GTK_SIGNAL_FUNC (folder_selected_cb), shell_view); |