[evolution] Bug 596268 - Crash when sidebar was clicked while 'loading'
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug 596268 - Crash when sidebar was clicked while 'loading'
- Date: Fri, 25 Sep 2009 04:55:19 +0000 (UTC)
commit a60c3f37361f5ce5d1b108286ab502232360c522
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Sep 25 00:53:58 2009 -0400
Bug 596268 - Crash when sidebar was clicked while 'loading'
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 7d98f74..b0e53c2 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]