diff options
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index eda896aa18..5615142c2e 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -317,6 +317,11 @@ switch_on_folder_tree_click (EShellView *shell_view, priv = shell_view->priv; uri = g_strconcat (E_SHELL_URI_PREFIX, path, NULL); + if (!strcmp (uri, priv->uri)) { + g_free (uri); + return; + } + e_shell_view_display_uri (shell_view, uri); g_free (uri); |