[epiphany] web-view: Set WARNING message type for info bar
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view: Set WARNING message type for info bar
- Date: Sun, 27 Nov 2016 21:09:58 +0000 (UTC)
commit 3e6a7843948f8ab0cdd7894795c6c350d9843235
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Nov 27 14:54:34 2016 -0600
web-view: Set WARNING message type for info bar
Once upon a time, this caused the bar to change to a different, more
noticeable color. Probably other themes still do this, so let's allow
that.
embed/ephy-web-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4753d21..350cd31 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -765,6 +765,7 @@ sensitive_form_focused_cb (EphyEmbedShell *shell,
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
info_bar = gtk_info_bar_new ();
+ gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), GTK_MESSAGE_WARNING);
content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));
gtk_container_add (GTK_CONTAINER (content_area), label);
gtk_widget_show (label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]