summaryrefslogtreecommitdiff
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 23eb29236..fb679ba3c 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1727,7 +1727,8 @@ accounts_dialog_treeview_enabled_cb (GtkMenuItem *item,
gboolean enabled;
enabled = tp_account_is_enabled (account);
- tp_account_set_enabled_async (account, !enabled, NULL, NULL);
+
+ enable_and_connect_account (account, !enabled);
}
static gboolean