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.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index feb97e22c2..de9048b847 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-11 Dan Winship <danw@ximian.com>
+
+ * e-shell-view.c (switch_on_folder_tree_click): Don't get into an
+ infinite loop when clicking on an IMAP storage. Might not be the
+ best fix?
+
2001-04-08 Chris Toshok <toshok@ximian.com>
* e-storage-set-view.c (tree_drag_motion): fix type. we want the
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index eda896aa18..5615142c2e 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -317,6 +317,11 @@ 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)) {
+ g_free (uri);
+ return;
+ }
+
e_shell_view_display_uri (shell_view, uri);
g_free (uri);