aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-25 23:05:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-26 01:01:50 +0800
commitaded0858c49c3b729564a35427e3affb514fffb9 (patch)
treefe15021104e6d8203d89a566ef519acfe52d5c67 /widgets
parente7981244a68c9d0b6b93d8c2697569668098b647 (diff)
downloadgsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.gz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.bz2
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.lz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.xz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.zst
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.zip
Prefer e_source_registry_check_enabled().
Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-mail-identity-combo-box.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-mail-identity-combo-box.c b/widgets/misc/e-mail-identity-combo-box.c
index 465ef3502f..b76e0ee6bc 100644
--- a/widgets/misc/e-mail-identity-combo-box.c
+++ b/widgets/misc/e-mail-identity-combo-box.c
@@ -325,7 +325,8 @@ e_mail_identity_combo_box_refresh (EMailIdentityComboBox *combo_box)
const gchar *uid;
source = E_SOURCE (link->data);
- if (!e_source_get_enabled (source))
+
+ if (!e_source_registry_check_enabled (registry, source))
continue;
extension = e_source_get_extension (source, extension_name);