aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-view.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index bb769a4075..0fe0def053 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-13 Not Zed <NotZed@Ximian.com>
+
+ * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri
+ isn't null before strcmp'ing it here too.
+
2001-06-11 Dan Winship <danw@ximian.com>
* e-shell-view.c (destroy): Don't destroy the
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 29c75fb287..9ca860ff5f 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -409,7 +409,7 @@ switch_on_folder_tree_click (EShellView *shell_view,
priv = shell_view->priv;
uri = g_strconcat (E_SHELL_URI_PREFIX, path, NULL);
- if (!strcmp (uri, priv->uri)) {
+ if (priv->uri != NULL && !strcmp (uri, priv->uri)) {
g_free (uri);
return;
}