aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 5b68226a8..bdb7bd109 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -187,14 +187,20 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
case TP_CONNECTION_STATUS_CONNECTING:
gtk_label_set_text (GTK_LABEL (priv->label_status),
_("Connecting..."));
+ gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
+ GTK_MESSAGE_INFO);
break;
case TP_CONNECTION_STATUS_DISCONNECTED:
gtk_label_set_text (GTK_LABEL (priv->label_status),
_("Disconnected - REASON"));
+ gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
+ GTK_MESSAGE_WARNING);
break;
default:
gtk_label_set_text (GTK_LABEL (priv->label_status),
_("Unknown Status"));
+ gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
+ GTK_MESSAGE_WARNING);
}
gtk_widget_show (priv->label_status);