aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-13 00:18:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-13 00:19:39 +0800
commit80d5b9a26172291024046224336568bd8e237770 (patch)
tree2642c0962d9b730f4f9ba86c6754fd549565abfa /mail
parent98a0fbb02bdb37a8f651a4b89ce12a797e8a4739 (diff)
downloadgsoc2013-evolution-80d5b9a26172291024046224336568bd8e237770.tar.gz
gsoc2013-evolution-80d5b9a26172291024046224336568bd8e237770.tar.zst
gsoc2013-evolution-80d5b9a26172291024046224336568bd8e237770.zip
EMailSession: Fix silly mistake in constructed().
Need to load all accounts on startup, even disabled ones.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 6d04c2c23d..ba4819d9e0 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);
}