From 2a772badda42e30da739c944c29b80bcdbb58b1b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 29 Sep 2010 10:43:04 +0200 Subject: Bug #629636 - Doesn't recognize local ESource-s --- mail/em-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/em-utils.c b/mail/em-utils.c index cf00c73a28..c7b7020b4b 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -1703,7 +1703,7 @@ search_address_in_addressbooks (const gchar *address, gboolean local_only, gbool if (!group) continue; - if (local_only && !(e_source_group_peek_base_uri (group) && g_str_has_prefix (e_source_group_peek_base_uri (group), "file://"))) + if (local_only && !(e_source_group_peek_base_uri (group) && g_str_has_prefix (e_source_group_peek_base_uri (group), "local:"))) continue; for (s = e_source_group_peek_sources (group); s; s = g_slist_next (s)) { -- cgit