diff options
author | Felix Kaser <f.kaser@gmx.net> | 2009-12-03 06:59:22 +0800 |
---|---|---|
committer | Felix Kaser <f.kaser@gmx.net> | 2009-12-15 20:52:43 +0800 |
commit | aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9 (patch) | |
tree | 68154e4ef1d9a8ee9a24d44c94137cabb229bedd | |
parent | fe04111c230ccccc78fd14153cf3faa059f495a8 (diff) | |
download | gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar.gz gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar.bz2 gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar.lz gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar.xz gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.tar.zst gsoc2013-empathy-aca1d575ff5caf0eb8ae1fc401eca1c7f7d620d9.zip |
use different message types in infobar
-rw-r--r-- | src/empathy-accounts-dialog.c | 6 |
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); |