aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mail-identity-combo-box.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-10 08:11:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-17 20:49:11 +0800
commit4d58a800fa36927567f6c0d22617c260e8e7172b (patch)
treef4284e5454469b21c9c8772b1b6a35805c60bc1d /e-util/e-mail-identity-combo-box.c
parent77fc81f8c9116f28016318aa1e00454abde970e8 (diff)
downloadgsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar.gz
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar.bz2
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar.lz
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar.xz
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.tar.zst
gsoc2013-evolution-4d58a800fa36927567f6c0d22617c260e8e7172b.zip
Use e_source_registry_list_enabled() where appropriate.
Diffstat (limited to 'e-util/e-mail-identity-combo-box.c')
-rw-r--r--e-util/e-mail-identity-combo-box.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/e-util/e-mail-identity-combo-box.c b/e-util/e-mail-identity-combo-box.c
index b76e0ee6bc..9561ba7f98 100644
--- a/e-util/e-mail-identity-combo-box.c
+++ b/e-util/e-mail-identity-combo-box.c
@@ -278,7 +278,7 @@ e_mail_identity_combo_box_refresh (EMailIdentityComboBox *combo_box)
extension_name = E_SOURCE_EXTENSION_MAIL_IDENTITY;
registry = e_mail_identity_combo_box_get_registry (combo_box);
- list = e_source_registry_list_sources (registry, extension_name);
+ list = e_source_registry_list_enabled (registry, extension_name);
/* Build a hash table of GQueues by email address so we can
* spot duplicate email addresses. Then if the GQueue for a
@@ -326,9 +326,6 @@ e_mail_identity_combo_box_refresh (EMailIdentityComboBox *combo_box)
source = E_SOURCE (link->data);
- if (!e_source_registry_check_enabled (registry, source))
- continue;
-
extension = e_source_get_extension (source, extension_name);
name = e_source_mail_identity_get_name (extension);
address = e_source_mail_identity_get_address (extension);