From 79df35b2f0c0d68ec60ae880c70b17cc014c684d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 26 Feb 2010 13:35:53 +0000 Subject: 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 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/empathy-accounts-dialog.c') diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index e34903f12..1256a1758 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), -- cgit v1.2.3