diff options
author | Dan Winship <danw@src.gnome.org> | 2001-04-12 06:55:20 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-04-12 06:55:20 +0800 |
commit | ac31cddc109d23041bcf536bfba2b25a9e95e8b6 (patch) | |
tree | aa807c514e2626c914aba15b3e89c4f97e84ccca /shell/e-shell-view.c | |
parent | 3ddac6f76ac6cabf99253abd852ca023d3aa3a21 (diff) | |
download | gsoc2013-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/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |