[evolution-data-server] use IMAPX for groupwise if USE_IMAP is set, if it is configured.
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] use IMAPX for groupwise if USE_IMAP is set, if it is configured.
- Date: Thu, 25 Feb 2010 12:15:53 +0000 (UTC)
commit b96be684d860515a68b53d53994cf2e94b302063
Author: Michael Meeks <michael meeks novell com>
Date: Thu Feb 25 12:14:51 2010 +0000
use IMAPX for groupwise if USE_IMAP is set, if it is configured.
.../providers/groupwise/camel-groupwise-provider.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/groupwise/camel-groupwise-provider.c b/camel/providers/groupwise/camel-groupwise-provider.c
index 69b898e..a42190e 100644
--- a/camel/providers/groupwise/camel-groupwise-provider.c
+++ b/camel/providers/groupwise/camel-groupwise-provider.c
@@ -129,8 +129,13 @@ camel_provider_module_init(void)
CamelException ex = CAMEL_EXCEPTION_INITIALISER;
gboolean use_imap = g_getenv ("USE_IMAP") != NULL;
- if (use_imap)
- imap_provider = camel_provider_get("imap://", &ex);
+ if (use_imap) {
+#ifdef ENABLE_IMAPX
+ imap_provider = camel_provider_get("imapx://", &ex);
+#else
+ imap_provider = camel_provider_get("imap://", &ex);
+#endif
+ }
groupwise_provider.url_hash = groupwise_url_hash;
groupwise_provider.url_equal = groupwise_url_equal;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]