[empathy: 6/11] accounts-dialog: use empathy_account_get_error_message (#523895)



commit d3c850f72226ae5b9a6d0cdaf357d81f0fd261d1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Aug 5 13:40:57 2010 +0200

    accounts-dialog: use empathy_account_get_error_message (#523895)

 src/empathy-accounts-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 46d6298..a3a771c 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]