projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e21bb8
)
These last two patches fix NB#127203, IMAP traffic ongoing when automatic updates...
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 17 Aug 2009 16:01:20 +0000
(18:01 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Tue, 18 Aug 2009 14:25:21 +0000
(16:25 +0200)
Initialize the session just after setting up the accounts
src/modest-tny-account-store.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
477ed1d
..
444f069
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-965,6
+965,9
@@
modest_tny_account_store_new (ModestAccountMgr *account_mgr,
add_mmc_account (MODEST_TNY_ACCOUNT_STORE (obj), FALSE /* don't emit the insert signal. */);
}
+ /* Initialize session */
+ tny_session_camel_set_initialized (priv->session);
+
return MODEST_TNY_ACCOUNT_STORE(obj);
}
@@
-994,9
+997,6
@@
modest_tny_account_store_get_accounts (TnyAccountStore *self,
default:
g_return_if_reached ();
}
-
- /* Initialize session. Why do we need this ??? */
- tny_session_camel_set_initialized (priv->session);
}