[evolution-mapi] Cache calendars/books locally by default, except of GAL
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Cache calendars/books locally by default, except of GAL
- Date: Fri, 27 Jan 2012 08:18:14 +0000 (UTC)
commit b7b28676db24fa3ad65298f9ae99328709cae6f1
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 27 09:17:08 2012 +0100
Cache calendars/books locally by default, except of GAL
.../e-mapi-account-listener.c | 6 +++---
.../e-mapi-subscribe-foreign-folder.c | 2 +-
src/camel/camel-mapi-store.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/account-setup-eplugin/e-mapi-account-listener.c b/src/account-setup-eplugin/e-mapi-account-listener.c
index 5ea1c8b..c043885 100644
--- a/src/account-setup-eplugin/e-mapi-account-listener.c
+++ b/src/account-setup-eplugin/e-mapi-account-listener.c
@@ -239,7 +239,7 @@ add_cal_esource (EAccount *account, GSList *folders, EMapiFolderType folder_type
domain = camel_mapi_settings_get_domain (mapi_settings);
realm = camel_mapi_settings_get_realm (mapi_settings);
kerberos = camel_mapi_settings_get_kerberos (mapi_settings) ? "required" : NULL;
- stay_synchronized = camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (settings));
+ stay_synchronized = TRUE /* camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (settings)) */;
if (folder_type == E_MAPI_FOLDER_TYPE_APPOINTMENT) {
conf_key = CALENDAR_SOURCES;
@@ -552,7 +552,7 @@ add_addressbook_sources (EAccount *account, GSList *folders, mapi_id_t trash_fid
domain = camel_mapi_settings_get_domain (settings);
realm = camel_mapi_settings_get_realm (settings);
kerberos = camel_mapi_settings_get_kerberos (settings) ? "required" : NULL;
- stay_synchronized = camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (settings));
+ stay_synchronized = TRUE /* camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (settings)) */;
base_uri = g_strdup_printf ("mapi://%s %s/", url->user, url->host);
client = gconf_client_get_default ();
@@ -636,7 +636,7 @@ add_addressbook_sources (EAccount *account, GSList *folders, mapi_id_t trash_fid
g_free (relative_uri);
}
- //Add GAL
+ /* Add GAL */
if (!gconf_client_get_bool (client, "/apps/evolution/eplugin/mapi/disable_gal", NULL)) {
gchar *uri;
gboolean is_new_source = FALSE;
diff --git a/src/account-setup-eplugin/e-mapi-subscribe-foreign-folder.c b/src/account-setup-eplugin/e-mapi-subscribe-foreign-folder.c
index fab0072..63ee710 100644
--- a/src/account-setup-eplugin/e-mapi-subscribe-foreign-folder.c
+++ b/src/account-setup-eplugin/e-mapi-subscribe-foreign-folder.c
@@ -417,7 +417,7 @@ check_foreign_folder_idle (GObject *with_object,
camel_network_settings_get_host (network_settings),
camel_network_settings_get_user (network_settings),
camel_mapi_settings_get_kerberos (mapi_settings),
- camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (mapi_settings)),
+ TRUE /* camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (mapi_settings)) */,
E_MAPI_FOLDER_CATEGORY_FOREIGN,
cffd->username,
folder_name,
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index a99d36d..53fc8d8 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -1757,7 +1757,7 @@ mapi_store_subscribe_folder_sync (CamelSubscribable *subscribable,
camel_network_settings_get_host (network_settings),
camel_network_settings_get_user (network_settings),
camel_mapi_settings_get_kerberos (mapi_settings),
- camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (mapi_settings)),
+ TRUE /* camel_offline_settings_get_stay_synchronized (CAMEL_OFFLINE_SETTINGS (mapi_settings)) */,
E_MAPI_FOLDER_CATEGORY_PUBLIC,
NULL,
use_folder_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]