[evolution] EMailSession: Fix silly mistake in constructed().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMailSession: Fix silly mistake in constructed().
- Date: Mon, 12 Dec 2011 16:20:24 +0000 (UTC)
commit 80d5b9a26172291024046224336568bd8e237770
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Dec 12 11:18:05 2011 -0500
EMailSession: Fix silly mistake in constructed().
Need to load all accounts on startup, even disabled ones.
mail/e-mail-session.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 6d04c2c..ba4819d 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -1051,8 +1051,7 @@ mail_session_constructed (GObject *object)
/* XXX EIterator misuses const. */
account = (EAccount *) e_iterator_get (iter);
- if (account->enabled)
- mail_session_add_by_account (session, account);
+ mail_session_add_by_account (session, account);
e_iterator_next (iter);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]