[empathy] accounts-dialog: update the status info when account when account is enabled
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] accounts-dialog: update the status info when account when account is enabled
- Date: Sat, 27 Feb 2010 18:52:23 +0000 (UTC)
commit 79df35b2f0c0d68ec60ae880c70b17cc014c684d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Feb 26 13:35:53 2010 +0000
accounts-dialog: update the status info when account when account is enabled
If we are offline and we enable a disabled account, the info bar message
should be updated from "Acconut Disabled" to "Status is set to Offline"
(#610847).
src/empathy-accounts-dialog.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index e34903f..1256a17 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1685,9 +1685,8 @@ enable_or_disable_account (EmpathyAccountsDialog *dialog,
/* Update the status in the model */
model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->treeview));
- /* Update the status-infobar in the details view when disabling */
- if (!enabled)
- accounts_dialog_update_status_infobar (dialog, account);
+ /* Update the status-infobar in the details view */
+ accounts_dialog_update_status_infobar (dialog, account);
DEBUG ("Account %s is now %s",
tp_account_get_display_name (account),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]