diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-16 22:30:08 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-02-21 21:28:40 +0800 |
commit | e8dae499471d378eae7b0f1bff92b4b0788a0bc7 (patch) | |
tree | 8021680c50ed80bc9e86e704640cd907fe2b305b | |
parent | f85fa9491bb42a9d01acda493d000cad1a2d1c80 (diff) | |
download | gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar.gz gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar.bz2 gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar.lz gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar.xz gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.tar.zst gsoc2013-empathy-e8dae499471d378eae7b0f1bff92b4b0788a0bc7.zip |
explain why the account has been disabled
https://bugzilla.gnome.org/show_bug.cgi?id=663829
-rw-r--r-- | src/empathy-accounts-dialog.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 1f07dc8b9..d25766cf2 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -433,8 +433,19 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog, } else { - accounts_dialog_status_infobar_set_message (dialog, - _("Offline — Account Disabled")); + if (!tp_strdiff (tp_account_get_connection_manager (account), + "butterfly")) + { + accounts_dialog_status_infobar_set_message (dialog, + _("This account has been disabled because it relies on an old, " + "unsupported backend. Please install telepathy-haze and " + "restart your session to migrate the account.")); + } + else + { + accounts_dialog_status_infobar_set_message (dialog, + _("Offline — Account Disabled")); + } gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar), GTK_MESSAGE_WARNING); |