diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-25 12:53:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-25 12:53:58 +0800 |
commit | a60c3f37361f5ce5d1b108286ab502232360c522 (patch) | |
tree | 3c7aa0ca07f18f213655f7b4ae89801e8a5606f6 /modules/mail | |
parent | 8bbaca9fafb528a718949e1b6b105447a6e4df1e (diff) | |
download | gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.gz gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.bz2 gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.lz gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.xz gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.zst gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.zip |
Bug 596268 - Crash when sidebar was clicked while 'loading'
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/e-mail-shell-sidebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c index 7d98f74558..b0e53c2d49 100644 --- a/modules/mail/e-mail-shell-sidebar.c +++ b/modules/mail/e-mail-shell-sidebar.c @@ -535,7 +535,7 @@ mail_shell_sidebar_check_state (EShellSidebar *shell_sidebar) COL_UINT_FLAGS, &folder_flags, COL_STRING_URI, &uri, -1); - if (!is_store) { + if (!is_store && full_name != NULL) { is_junk = (strcmp (full_name, CAMEL_VJUNK_NAME) == 0); is_trash = (strcmp (full_name, CAMEL_VTRASH_NAME) == 0); allows_children = !(is_junk || is_trash); |