aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 2e14e2966c..7e5267c9e3 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1317,7 +1317,7 @@ get_control_for_uri (EShellView *shell_view,
slash = strchr (path + 1, G_DIR_SEPARATOR);
if (slash == NULL || slash[1] == '\0')
- folder_type = get_type_for_storage (shell_view, path, &physical_uri);
+ folder_type = get_type_for_storage (shell_view, path + 1, &physical_uri);
else
folder_type = get_type_for_folder (shell_view, path, &physical_uri);
if (!folder_type)