diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-03-30 20:00:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-03-30 20:00:39 +0800 |
commit | aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f (patch) | |
tree | a4d0838853dba0347e7b317519b575af5e9f8053 /src/empathy-accounts-dialog.c | |
parent | 073f8a015a1222455d2d55451c2f246e1dbafcc0 (diff) | |
download | gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar.gz gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar.bz2 gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar.lz gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar.xz gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.tar.zst gsoc2013-empathy-aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f.zip |
use enable_and_connect_account() when enabling an account from the menu
https://bugzilla.gnome.org/show_bug.cgi?id=673162
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r-- | src/empathy-accounts-dialog.c | 3 |
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 |