diff options
Diffstat (limited to 'e-util/e-name-selector.c')
-rw-r--r-- | e-util/e-name-selector.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/e-util/e-name-selector.c b/e-util/e-name-selector.c index f6e6658731..9f2f48cea8 100644 --- a/e-util/e-name-selector.c +++ b/e-util/e-name-selector.c @@ -172,7 +172,7 @@ e_name_selector_load_books (ENameSelector *name_selector) client_cache = e_name_selector_ref_client_cache (name_selector); registry = e_client_cache_ref_registry (client_cache); - list = e_source_registry_list_sources (registry, extension_name); + list = e_source_registry_list_enabled (registry, extension_name); for (iter = list; iter != NULL; iter = g_list_next (iter)) { ESource *source = E_SOURCE (iter->data); @@ -182,10 +182,6 @@ e_name_selector_load_books (ENameSelector *name_selector) extension_name = E_SOURCE_EXTENSION_AUTOCOMPLETE; extension = e_source_get_extension (source, extension_name); - /* Skip disabled address books. */ - if (!e_source_registry_check_enabled (registry, source)) - continue; - /* Only load address books with autocomplete enabled, * so as to avoid unnecessary authentication prompts. */ if (!e_source_autocomplete_get_include_me (extension)) |