aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:37:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 19:37:52 +0800
commit42d87a3d0d9048d6661449a5997d7dadc9a2a3c4 (patch)
tree0646417595e1097678251d8acd49982f383d50a1
parentfde1ddca54a6f94fd4112f9d4e5c49d823ed00a4 (diff)
downloadgsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar.gz
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar.bz2
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar.lz
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar.xz
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.tar.zst
gsoc2013-empathy-42d87a3d0d9048d6661449a5997d7dadc9a2a3c4.zip
main-window: use empathy_account_get_error_message (#523895)
-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) {