From 42d87a3d0d9048d6661449a5997d7dadc9a2a3c4 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 5 Aug 2010 13:37:52 +0200 Subject: main-window: use empathy_account_get_error_message (#523895) --- src/empathy-main-window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 54496414c..afca30281 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -432,13 +432,10 @@ main_window_error_display (EmpathyMainWindow *window, GtkWidget *action_table; gchar *str; const gchar *icon_name; - const gchar *message; - - message = empathy_status_reason_get_default_message (reason); str = g_markup_printf_escaped ("%s\n%s", tp_account_get_display_name (account), - message); + empathy_account_get_error_message (account, reason)); info_bar = g_hash_table_lookup (priv->errors, account); if (info_bar) { -- cgit v1.2.3