aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-13 02:42:30 +0800
committerDan Winship <danw@src.gnome.org>2000-12-13 02:42:30 +0800
commit3641d7d4bdb22b7e6a1f6d4edd84390c559222dd (patch)
tree373024606c53519e10d34be5c33ac107a0855340 /shell
parent93a53667f67ac8339258c17c34a20d4bf3c2fe5e (diff)
downloadgsoc2013-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')
-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)