[empathy] use enable_and_connect_account() when enabling an account from the menu
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] use enable_and_connect_account() when enabling an account from the menu
- Date: Fri, 30 Mar 2012 12:39:26 +0000 (UTC)
commit aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Mar 30 14:00:15 2012 +0200
use enable_and_connect_account() when enabling an account from the menu
https://bugzilla.gnome.org/show_bug.cgi?id=673162
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 23eb292..fb679ba 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]