diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-01 05:14:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-01 06:39:05 +0800 |
commit | fd43cd692ad12e7f9c70386c1b0867b16f9ec15d (patch) | |
tree | 7de35780745b82c9655e0bbc87945f36368c4643 /mail/e-mail-account-store.c | |
parent | fc3bf6f39e7215df6325515afff3217aedb2cc10 (diff) | |
download | gsoc2013-evolution-fd43cd692ad12e7f9c70386c1b0867b16f9ec15d.tar.gz gsoc2013-evolution-fd43cd692ad12e7f9c70386c1b0867b16f9ec15d.tar.zst gsoc2013-evolution-fd43cd692ad12e7f9c70386c1b0867b16f9ec15d.zip |
Incorporate ESourceUOA.
Where we make exceptions for GNOME Online Accounts, so too shall we for
Ubuntu Online Accounts.
Diffstat (limited to 'mail/e-mail-account-store.c')
-rw-r--r-- | mail/e-mail-account-store.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c index a2a639d9b4..cb1f4e000d 100644 --- a/mail/e-mail-account-store.c +++ b/mail/e-mail-account-store.c @@ -1153,6 +1153,13 @@ e_mail_account_store_add_service (EMailAccountStore *store, enabled_visible = FALSE; } + /* Check for Ubuntu Online Accounts linkage. */ + extension_name = E_SOURCE_EXTENSION_UOA; + if (e_source_has_extension (collection, extension_name)) { + online_account = TRUE; + enabled_visible = FALSE; + } + g_object_unref (collection); } else { enabled = e_source_get_enabled (source); |