summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 13:37:52 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 13:37:52 +0200
commit42d87a3d0d9048d6661449a5997d7dadc9a2a3c4 (patch)
tree0646417595e1097678251d8acd49982f383d50a1 /src
parentfde1ddca54a6f94fd4112f9d4e5c49d823ed00a4 (diff)
main-window: use empathy_account_get_error_message (#523895)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c5
1 files changed, 1 insertions, 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 ("<b>%s</b>\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) {