[empathy: 59/65] Don't show the error if user-requested is set
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 59/65] Don't show the error if user-requested is set
- Date: Tue, 24 Aug 2010 13:31:25 +0000 (UTC)
commit ea19d00b74b36acc40115a3b48218ccc6af54d04
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 18 19:07:17 2010 +0200
Don't show the error if user-requested is set
src/empathy-main-window.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index ff8bb5e..0efa4a9 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -475,10 +475,19 @@ main_window_error_display (EmpathyMainWindow *window,
GtkWidget *action_table;
gchar *str;
const gchar *icon_name;
+ const gchar *error_message;
+ gboolean user_requested;
+
+ error_message =
+ empathy_account_get_error_message (account, &user_requested);
+
+ if (user_requested) {
+ return;
+ }
str = g_markup_printf_escaped ("<b>%s</b>\n%s",
tp_account_get_display_name (account),
- empathy_account_get_error_message (account));
+ error_message);
info_bar = g_hash_table_lookup (priv->errors, account);
if (info_bar) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]