aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:40:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:40:57 +0800
commitd3c850f72226ae5b9a6d0cdaf357d81f0fd261d1 (patch)
treea7b395b006263f57cd36d4547c62a97e2957439a
parent42d87a3d0d9048d6661449a5997d7dadc9a2a3c4 (diff)
downloadgsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar.gz
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar.bz2
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar.lz
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar.xz
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.tar.zst
gsoc2013-empathy-d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1.zip
accounts-dialog: use empathy_account_get_error_message (#523895)
-rw-r--r--src/empathy-accounts-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 46d629890..a3a771cc4 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -310,7 +310,7 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
gchar *message;
message = g_strdup_printf (_("Offline — %s"),
- empathy_status_reason_get_default_message (reason));
+ empathy_account_get_error_message (account, reason));
gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
GTK_MESSAGE_WARNING);
@@ -322,7 +322,7 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
gchar *message;
message = g_strdup_printf (_("Disconnected — %s"),
- empathy_status_reason_get_default_message (reason));
+ empathy_account_get_error_message (account, reason));
gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
GTK_MESSAGE_ERROR);