diff options
author | Dan Winship <danw@src.gnome.org> | 2000-12-13 02:42:30 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-12-13 02:42:30 +0800 |
commit | 3641d7d4bdb22b7e6a1f6d4edd84390c559222dd (patch) | |
tree | 373024606c53519e10d34be5c33ac107a0855340 /shell/e-shell-view.c | |
parent | 93a53667f67ac8339258c17c34a20d4bf3c2fe5e (diff) | |
download | gsoc2013-evolution-3641d7d4bdb22b7e6a1f6d4edd84390c559222dd.tar.gz gsoc2013-evolution-3641d7d4bdb22b7e6a1f6d4edd84390c559222dd.tar.zst gsoc2013-evolution-3641d7d4bdb22b7e6a1f6d4edd84390c559222dd.zip |
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
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 2 |
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) |