diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-26 21:35:53 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-28 01:52:59 +0800 |
commit | 79df35b2f0c0d68ec60ae880c70b17cc014c684d (patch) | |
tree | de63dbc5a4488a2f012e5613634829d0ad9ab15b /src/empathy-accounts-dialog.c | |
parent | a84e1e573eec373609ede78a56103dbab3da6046 (diff) | |
download | gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar.gz gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar.bz2 gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar.lz gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar.xz gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.tar.zst gsoc2013-empathy-79df35b2f0c0d68ec60ae880c70b17cc014c684d.zip |
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).
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r-- | 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 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), |