[evolution/email-factory-3-4: 34/38] Commit the file missed by prev commit.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/email-factory-3-4: 34/38] Commit the file missed by prev commit.
- Date: Fri, 16 Dec 2011 11:57:19 +0000 (UTC)
commit 9b1b5b9e8c9e53fb4e74705a59ff8710f9616384
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Fri Dec 16 15:59:24 2011 +0530
Commit the file missed by prev commit.
mail/e-mail-account-store.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index 01b06f7..2a473e7 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -1156,10 +1156,15 @@ e_mail_account_store_enable_service (EMailAccountStore *store,
{
GtkTreeIter iter;
gboolean proceed;
+ MailFolderCache *cache;
+ EMailSession *session;
g_return_if_fail (E_IS_MAIL_ACCOUNT_STORE (store));
g_return_if_fail (CAMEL_IS_SERVICE (service));
+ session = e_mail_account_store_get_session (store);
+ cache = e_mail_session_get_folder_cache (session);
+
if (!mail_account_store_get_iter (store, service, &iter))
g_return_if_reached ();
@@ -1172,7 +1177,7 @@ e_mail_account_store_enable_service (EMailAccountStore *store,
gtk_list_store_set (
GTK_LIST_STORE (store), &iter,
E_MAIL_ACCOUNT_STORE_COLUMN_ENABLED, TRUE, -1);
-
+ mail_folder_cache_service_enabled (cache, service);
g_signal_emit (store, signals[SERVICE_ENABLED], 0, service);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]