aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-contacts.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-01-18 20:55:50 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-01-18 20:55:50 +0800
commitc43e660f77dd4f39167463884b7e48ead7e45e85 (patch)
tree4f10a7c3027938ef3977b85dee1d78d2bf4da55b /plugins/exchange-operations/exchange-contacts.c
parentb0720f681554b8e561cb037b47dee269c176242b (diff)
downloadgsoc2013-evolution-c43e660f77dd4f39167463884b7e48ead7e45e85.tar.gz
gsoc2013-evolution-c43e660f77dd4f39167463884b7e48ead7e45e85.tar.zst
gsoc2013-evolution-c43e660f77dd4f39167463884b7e48ead7e45e85.zip
Displaying the offline message for both Exchange personal and GAL folders.
Fixes #327483. svn path=/trunk/; revision=31232
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r--plugins/exchange-operations/exchange-contacts.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index a656282d2b..b428b6b032 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -146,9 +146,11 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data)
}
uri_text = e_source_get_uri (source);
- if (uri_text && strncmp (uri_text, "exchange", 8)) {
- g_free (uri_text);
- return NULL;
+ if (uri_text && g_ascii_strncasecmp (uri_text, "exchange", 8)) {
+ if (g_ascii_strncasecmp (uri_text, "gal", 3)) {
+ g_free (uri_text);
+ return NULL;
+ }
}
g_free (uri_text);