aboutsummaryrefslogtreecommitdiffstats
path: root/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c')
-rw-r--r--ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c b/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
index 20b8f0949..c0ff400f6 100644
--- a/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
+++ b/ubuntu-online-accounts/mc-plugin/mcp-account-manager-uoa.c
@@ -542,6 +542,9 @@ account_manager_uoa_set (const McpAccountStorage *storage,
if (!tp_strdiff (key, "Enabled"))
{
+ /* Enabled is a global setting on the account, not per-services,
+ * unfortunately */
+ ag_account_select_service (account, NULL);
ag_account_set_enabled (account, !tp_strdiff (val, "true"));
}
else if (!tp_strdiff (key, "DisplayName"))