aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-25 12:53:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-25 12:53:58 +0800
commita60c3f37361f5ce5d1b108286ab502232360c522 (patch)
tree3c7aa0ca07f18f213655f7b4ae89801e8a5606f6 /modules/mail/e-mail-shell-sidebar.c
parent8bbaca9fafb528a718949e1b6b105447a6e4df1e (diff)
downloadgsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.gz
gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.tar.zst
gsoc2013-evolution-a60c3f37361f5ce5d1b108286ab502232360c522.zip
Bug 596268 - Crash when sidebar was clicked while 'loading'
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r--modules/mail/e-mail-shell-sidebar.c2
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);