From 3641d7d4bdb22b7e6a1f6d4edd84390c559222dd Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 12 Dec 2000 18:42:30 +0000 Subject: Pass path+1 rather than path to get_type_for_storage, to match the * 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. svn path=/trunk/; revision=6942 --- shell/ChangeLog | 6 ++++++ shell/e-shell-view.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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) -- cgit v1.2.3