aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-12 06:55:20 +0800
committerDan Winship <danw@src.gnome.org>2001-04-12 06:55:20 +0800
commitac31cddc109d23041bcf536bfba2b25a9e95e8b6 (patch)
treeaa807c514e2626c914aba15b3e89c4f97e84ccca /shell
parent3ddac6f76ac6cabf99253abd852ca023d3aa3a21 (diff)
downloadgsoc2013-evolution-ac31cddc109d23041bcf536bfba2b25a9e95e8b6.tar.gz
gsoc2013-evolution-ac31cddc109d23041bcf536bfba2b25a9e95e8b6.tar.zst
gsoc2013-evolution-ac31cddc109d23041bcf536bfba2b25a9e95e8b6.zip
Don't get into an infinite loop when clicking on an IMAP storage. Might
* 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? svn path=/trunk/; revision=9258
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);