aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-shell-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4e83ca66ac..405273b446 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-12 Dan Winship <danw@helixcode.com>
+
+ * e-shell-view.c (get_control_for_uri): Pass path+1 rather than
+ path to get_type_for_storage, to match the convention used by its
+ other callers.
+
2000-12-11 Jeffrey Stedfast <fejj@helixcode.com>
* e-splash.c (e_splash_construct): Connect a button-press-event
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)